Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

DefaultDhcpOptions

Create a DefaultDhcpOptions Resource

new DefaultDhcpOptions(name: string, args: DefaultDhcpOptionsArgs, opts?: CustomResourceOptions);
@overload
def DefaultDhcpOptions(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       compartment_id: Optional[str] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       display_name: Optional[str] = None,
                       domain_name_type: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None,
                       manage_default_resource_id: Optional[str] = None,
                       options: Optional[Sequence[_core.DefaultDhcpOptionsOptionArgs]] = None)
@overload
def DefaultDhcpOptions(resource_name: str,
                       args: DefaultDhcpOptionsArgs,
                       opts: Optional[ResourceOptions] = None)
func NewDefaultDhcpOptions(ctx *Context, name string, args DefaultDhcpOptionsArgs, opts ...ResourceOption) (*DefaultDhcpOptions, error)
public DefaultDhcpOptions(string name, DefaultDhcpOptionsArgs args, CustomResourceOptions? opts = null)
public DefaultDhcpOptions(String name, DefaultDhcpOptionsArgs args)
public DefaultDhcpOptions(String name, DefaultDhcpOptionsArgs args, CustomResourceOptions options)
type: oci:Core:DefaultDhcpOptions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DefaultDhcpOptionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DefaultDhcpOptionsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DefaultDhcpOptionsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DefaultDhcpOptionsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DefaultDhcpOptionsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DefaultDhcpOptions Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DefaultDhcpOptions resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the DefaultDhcpOptions resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

State string
TimeCreated string
Id string

The provider-assigned unique ID for this managed resource.

State string
TimeCreated string
id String

The provider-assigned unique ID for this managed resource.

state String
timeCreated String
id string

The provider-assigned unique ID for this managed resource.

state string
timeCreated string
id str

The provider-assigned unique ID for this managed resource.

state str
time_created str
id String

The provider-assigned unique ID for this managed resource.

state String
timeCreated String

Look up an Existing DefaultDhcpOptions Resource

Get an existing DefaultDhcpOptions resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DefaultDhcpOptionsState, opts?: CustomResourceOptions): DefaultDhcpOptions
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        display_name: Optional[str] = None,
        domain_name_type: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        manage_default_resource_id: Optional[str] = None,
        options: Optional[Sequence[_core.DefaultDhcpOptionsOptionArgs]] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None) -> DefaultDhcpOptions
func GetDefaultDhcpOptions(ctx *Context, name string, id IDInput, state *DefaultDhcpOptionsState, opts ...ResourceOption) (*DefaultDhcpOptions, error)
public static DefaultDhcpOptions Get(string name, Input<string> id, DefaultDhcpOptionsState? state, CustomResourceOptions? opts = null)
public static DefaultDhcpOptions get(String name, Output<String> id, DefaultDhcpOptionsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string
DefinedTags Dictionary<string, object>
DisplayName string
DomainNameType string
FreeformTags Dictionary<string, object>
ManageDefaultResourceId string
Options List<DefaultDhcpOptionsOptionArgs>
State string
TimeCreated string

Supporting Types

DefaultDhcpOptionsOption

Type string
CustomDnsServers List<string>
SearchDomainNames List<string>
ServerType string
Type string
CustomDnsServers []string
SearchDomainNames []string
ServerType string
type String
customDnsServers List<String>
searchDomainNames List<String>
serverType String
type string
customDnsServers string[]
searchDomainNames string[]
serverType string
type str
custom_dns_servers Sequence[str]
search_domain_names Sequence[str]
server_type str
type String
customDnsServers List<String>
searchDomainNames List<String>
serverType String

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.