@pulumi/sdwan
Version:
A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1
349 lines (348 loc) • 11.5 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
/**
* This resource can manage a Service DHCP Server Feature.
* - Minimum SD-WAN Manager version: `20.12.0`
*
* ## Import
*
* The `pulumi import` command can be used, for example:
*
* Expected import identifier with the format: "service_dhcp_server_feature_id,feature_profile_id"
*
* ```sh
* $ pulumi import sdwan:index/serviceDhcpServerFeature:ServiceDhcpServerFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
* ```
*/
export declare class ServiceDhcpServerFeature extends pulumi.CustomResource {
/**
* Get an existing ServiceDhcpServerFeature resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServiceDhcpServerFeatureState, opts?: pulumi.CustomResourceOptions): ServiceDhcpServerFeature;
/**
* Returns true if the given object is an instance of ServiceDhcpServerFeature. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ServiceDhcpServerFeature;
/**
* Set IP address of default gateway
*/
readonly defaultGateway: pulumi.Output<string | undefined>;
/**
* Variable name
*/
readonly defaultGatewayVariable: pulumi.Output<string | undefined>;
/**
* The description of the Feature
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Configure one or more DNS server IP addresses
*/
readonly dnsServers: pulumi.Output<string[] | undefined>;
/**
* Variable name
*/
readonly dnsServersVariable: pulumi.Output<string | undefined>;
/**
* Set domain name client uses to resolve hostnames
*/
readonly domainName: pulumi.Output<string | undefined>;
/**
* Variable name
*/
readonly domainNameVariable: pulumi.Output<string | undefined>;
/**
* Variable name
*/
readonly excludeVariable: pulumi.Output<string | undefined>;
/**
* Configure IPv4 address to exclude from DHCP address pool
*/
readonly excludes: pulumi.Output<string[] | undefined>;
/**
* Feature Profile ID
*/
readonly featureProfileId: pulumi.Output<string>;
/**
* Set MTU on interface to DHCP client - Range: `68`-`65535`
*/
readonly interfaceMtu: pulumi.Output<number | undefined>;
/**
* Variable name
*/
readonly interfaceMtuVariable: pulumi.Output<string | undefined>;
/**
* Configure how long a DHCP-assigned IP address is valid - Range: `60`-`31536000` - Default value: `86400`
*/
readonly leaseTime: pulumi.Output<number | undefined>;
/**
* Variable name
*/
readonly leaseTimeVariable: pulumi.Output<string | undefined>;
/**
* The name of the Feature
*/
readonly name: pulumi.Output<string>;
/**
* Network Address
*/
readonly networkAddress: pulumi.Output<string | undefined>;
/**
* Variable name
*/
readonly networkAddressVariable: pulumi.Output<string | undefined>;
/**
* Configure Options Code
*/
readonly optionCodes: pulumi.Output<outputs.ServiceDhcpServerFeatureOptionCode[] | undefined>;
/**
* Configure static IP addresses
*/
readonly staticLeases: pulumi.Output<outputs.ServiceDhcpServerFeatureStaticLease[] | undefined>;
/**
* Subnet Mask - Choices: `255.255.255.255`, `255.255.255.254`, `255.255.255.252`, `255.255.255.248`, `255.255.255.240`,
* `255.255.255.224`, `255.255.255.192`, `255.255.255.128`, `255.255.255.0`, `255.255.254.0`, `255.255.252.0`,
* `255.255.248.0`, `255.255.240.0`, `255.255.224.0`, `255.255.192.0`, `255.255.128.0`, `255.255.0.0`, `255.254.0.0`,
* `255.252.0.0`, `255.240.0.0`, `255.224.0.0`, `255.192.0.0`, `255.128.0.0`, `255.0.0.0`, `254.0.0.0`, `252.0.0.0`,
* `248.0.0.0`, `240.0.0.0`, `224.0.0.0`, `192.0.0.0`, `128.0.0.0`, `0.0.0.0`
*/
readonly subnetMask: pulumi.Output<string | undefined>;
/**
* Variable name
*/
readonly subnetMaskVariable: pulumi.Output<string | undefined>;
/**
* Configure TFTP server IP addresses
*/
readonly tftpServers: pulumi.Output<string[] | undefined>;
/**
* Variable name
*/
readonly tftpServersVariable: pulumi.Output<string | undefined>;
/**
* The version of the Feature
*/
readonly version: pulumi.Output<number>;
/**
* Create a ServiceDhcpServerFeature resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ServiceDhcpServerFeatureArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ServiceDhcpServerFeature resources.
*/
export interface ServiceDhcpServerFeatureState {
/**
* Set IP address of default gateway
*/
defaultGateway?: pulumi.Input<string>;
/**
* Variable name
*/
defaultGatewayVariable?: pulumi.Input<string>;
/**
* The description of the Feature
*/
description?: pulumi.Input<string>;
/**
* Configure one or more DNS server IP addresses
*/
dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Variable name
*/
dnsServersVariable?: pulumi.Input<string>;
/**
* Set domain name client uses to resolve hostnames
*/
domainName?: pulumi.Input<string>;
/**
* Variable name
*/
domainNameVariable?: pulumi.Input<string>;
/**
* Variable name
*/
excludeVariable?: pulumi.Input<string>;
/**
* Configure IPv4 address to exclude from DHCP address pool
*/
excludes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Feature Profile ID
*/
featureProfileId?: pulumi.Input<string>;
/**
* Set MTU on interface to DHCP client - Range: `68`-`65535`
*/
interfaceMtu?: pulumi.Input<number>;
/**
* Variable name
*/
interfaceMtuVariable?: pulumi.Input<string>;
/**
* Configure how long a DHCP-assigned IP address is valid - Range: `60`-`31536000` - Default value: `86400`
*/
leaseTime?: pulumi.Input<number>;
/**
* Variable name
*/
leaseTimeVariable?: pulumi.Input<string>;
/**
* The name of the Feature
*/
name?: pulumi.Input<string>;
/**
* Network Address
*/
networkAddress?: pulumi.Input<string>;
/**
* Variable name
*/
networkAddressVariable?: pulumi.Input<string>;
/**
* Configure Options Code
*/
optionCodes?: pulumi.Input<pulumi.Input<inputs.ServiceDhcpServerFeatureOptionCode>[]>;
/**
* Configure static IP addresses
*/
staticLeases?: pulumi.Input<pulumi.Input<inputs.ServiceDhcpServerFeatureStaticLease>[]>;
/**
* Subnet Mask - Choices: `255.255.255.255`, `255.255.255.254`, `255.255.255.252`, `255.255.255.248`, `255.255.255.240`,
* `255.255.255.224`, `255.255.255.192`, `255.255.255.128`, `255.255.255.0`, `255.255.254.0`, `255.255.252.0`,
* `255.255.248.0`, `255.255.240.0`, `255.255.224.0`, `255.255.192.0`, `255.255.128.0`, `255.255.0.0`, `255.254.0.0`,
* `255.252.0.0`, `255.240.0.0`, `255.224.0.0`, `255.192.0.0`, `255.128.0.0`, `255.0.0.0`, `254.0.0.0`, `252.0.0.0`,
* `248.0.0.0`, `240.0.0.0`, `224.0.0.0`, `192.0.0.0`, `128.0.0.0`, `0.0.0.0`
*/
subnetMask?: pulumi.Input<string>;
/**
* Variable name
*/
subnetMaskVariable?: pulumi.Input<string>;
/**
* Configure TFTP server IP addresses
*/
tftpServers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Variable name
*/
tftpServersVariable?: pulumi.Input<string>;
/**
* The version of the Feature
*/
version?: pulumi.Input<number>;
}
/**
* The set of arguments for constructing a ServiceDhcpServerFeature resource.
*/
export interface ServiceDhcpServerFeatureArgs {
/**
* Set IP address of default gateway
*/
defaultGateway?: pulumi.Input<string>;
/**
* Variable name
*/
defaultGatewayVariable?: pulumi.Input<string>;
/**
* The description of the Feature
*/
description?: pulumi.Input<string>;
/**
* Configure one or more DNS server IP addresses
*/
dnsServers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Variable name
*/
dnsServersVariable?: pulumi.Input<string>;
/**
* Set domain name client uses to resolve hostnames
*/
domainName?: pulumi.Input<string>;
/**
* Variable name
*/
domainNameVariable?: pulumi.Input<string>;
/**
* Variable name
*/
excludeVariable?: pulumi.Input<string>;
/**
* Configure IPv4 address to exclude from DHCP address pool
*/
excludes?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Feature Profile ID
*/
featureProfileId: pulumi.Input<string>;
/**
* Set MTU on interface to DHCP client - Range: `68`-`65535`
*/
interfaceMtu?: pulumi.Input<number>;
/**
* Variable name
*/
interfaceMtuVariable?: pulumi.Input<string>;
/**
* Configure how long a DHCP-assigned IP address is valid - Range: `60`-`31536000` - Default value: `86400`
*/
leaseTime?: pulumi.Input<number>;
/**
* Variable name
*/
leaseTimeVariable?: pulumi.Input<string>;
/**
* The name of the Feature
*/
name?: pulumi.Input<string>;
/**
* Network Address
*/
networkAddress?: pulumi.Input<string>;
/**
* Variable name
*/
networkAddressVariable?: pulumi.Input<string>;
/**
* Configure Options Code
*/
optionCodes?: pulumi.Input<pulumi.Input<inputs.ServiceDhcpServerFeatureOptionCode>[]>;
/**
* Configure static IP addresses
*/
staticLeases?: pulumi.Input<pulumi.Input<inputs.ServiceDhcpServerFeatureStaticLease>[]>;
/**
* Subnet Mask - Choices: `255.255.255.255`, `255.255.255.254`, `255.255.255.252`, `255.255.255.248`, `255.255.255.240`,
* `255.255.255.224`, `255.255.255.192`, `255.255.255.128`, `255.255.255.0`, `255.255.254.0`, `255.255.252.0`,
* `255.255.248.0`, `255.255.240.0`, `255.255.224.0`, `255.255.192.0`, `255.255.128.0`, `255.255.0.0`, `255.254.0.0`,
* `255.252.0.0`, `255.240.0.0`, `255.224.0.0`, `255.192.0.0`, `255.128.0.0`, `255.0.0.0`, `254.0.0.0`, `252.0.0.0`,
* `248.0.0.0`, `240.0.0.0`, `224.0.0.0`, `192.0.0.0`, `128.0.0.0`, `0.0.0.0`
*/
subnetMask?: pulumi.Input<string>;
/**
* Variable name
*/
subnetMaskVariable?: pulumi.Input<string>;
/**
* Configure TFTP server IP addresses
*/
tftpServers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Variable name
*/
tftpServersVariable?: pulumi.Input<string>;
}