constellix.CnameRecordPool
Explore with Pulumi AI
Create CnameRecordPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CnameRecordPool(name: string, args: CnameRecordPoolArgs, opts?: CustomResourceOptions);
@overload
def CnameRecordPool(resource_name: str,
args: CnameRecordPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CnameRecordPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
min_available_failover: Optional[float] = None,
num_return: Optional[float] = None,
values: Optional[Sequence[CnameRecordPoolValueArgs]] = None,
cname_record_pool_id: Optional[str] = None,
disable_flag: Optional[str] = None,
failed_flag: Optional[str] = None,
name: Optional[str] = None,
note: Optional[str] = None,
version: Optional[float] = None)
func NewCnameRecordPool(ctx *Context, name string, args CnameRecordPoolArgs, opts ...ResourceOption) (*CnameRecordPool, error)
public CnameRecordPool(string name, CnameRecordPoolArgs args, CustomResourceOptions? opts = null)
public CnameRecordPool(String name, CnameRecordPoolArgs args)
public CnameRecordPool(String name, CnameRecordPoolArgs args, CustomResourceOptions options)
type: constellix:CnameRecordPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CnameRecordPoolArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. CnameRecordPoolArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CnameRecordPoolArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. CnameRecordPoolArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. CnameRecordPoolArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cnameRecordPoolResource = new Constellix.CnameRecordPool("cnameRecordPoolResource", new()
{
MinAvailableFailover = 0,
NumReturn = 0,
Values = new[]
{
new Constellix.Inputs.CnameRecordPoolValueArgs
{
Policy = "string",
Value = "string",
Weight = 0,
CheckId = 0,
DisableFlag = "string",
},
},
CnameRecordPoolId = "string",
DisableFlag = "string",
FailedFlag = "string",
Name = "string",
Note = "string",
Version = 0,
});
example, err := constellix.NewCnameRecordPool(ctx, "cnameRecordPoolResource", &constellix.CnameRecordPoolArgs{
MinAvailableFailover: pulumi.Float64(0),
NumReturn: pulumi.Float64(0),
Values: .CnameRecordPoolValueArray{
&.CnameRecordPoolValueArgs{
Policy: pulumi.String("string"),
Value: pulumi.String("string"),
Weight: pulumi.Float64(0),
CheckId: pulumi.Float64(0),
DisableFlag: pulumi.String("string"),
},
},
CnameRecordPoolId: pulumi.String("string"),
DisableFlag: pulumi.String("string"),
FailedFlag: pulumi.String("string"),
Name: pulumi.String("string"),
Note: pulumi.String("string"),
Version: pulumi.Float64(0),
})
var cnameRecordPoolResource = new CnameRecordPool("cnameRecordPoolResource", CnameRecordPoolArgs.builder()
.minAvailableFailover(0)
.numReturn(0)
.values(CnameRecordPoolValueArgs.builder()
.policy("string")
.value("string")
.weight(0)
.checkId(0)
.disableFlag("string")
.build())
.cnameRecordPoolId("string")
.disableFlag("string")
.failedFlag("string")
.name("string")
.note("string")
.version(0)
.build());
cname_record_pool_resource = constellix.CnameRecordPool("cnameRecordPoolResource",
min_available_failover=0,
num_return=0,
values=[{
"policy": "string",
"value": "string",
"weight": 0,
"check_id": 0,
"disable_flag": "string",
}],
cname_record_pool_id="string",
disable_flag="string",
failed_flag="string",
name="string",
note="string",
version=0)
const cnameRecordPoolResource = new constellix.CnameRecordPool("cnameRecordPoolResource", {
minAvailableFailover: 0,
numReturn: 0,
values: [{
policy: "string",
value: "string",
weight: 0,
checkId: 0,
disableFlag: "string",
}],
cnameRecordPoolId: "string",
disableFlag: "string",
failedFlag: "string",
name: "string",
note: "string",
version: 0,
});
type: constellix:CnameRecordPool
properties:
cnameRecordPoolId: string
disableFlag: string
failedFlag: string
minAvailableFailover: 0
name: string
note: string
numReturn: 0
values:
- checkId: 0
disableFlag: string
policy: string
value: string
weight: 0
version: 0
CnameRecordPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CnameRecordPool resource accepts the following input properties:
This property is required. double- Num
Return This property is required. double - Values
This property is required. List<CnameRecord Pool Value> - Cname
Record stringPool Id - The constellix calculated id of the cname record pool resource.
- Disable
Flag string - Failed
Flag string - Name string
- Note string
- Version double
This property is required. float64- Num
Return This property is required. float64 - Values
This property is required. []CnameRecord Pool Value Args - Cname
Record stringPool Id - The constellix calculated id of the cname record pool resource.
- Disable
Flag string - Failed
Flag string - Name string
- Note string
- Version float64
This property is required. Double- num
Return This property is required. Double - values
This property is required. List<CnameRecord Pool Value> - cname
Record StringPool Id - The constellix calculated id of the cname record pool resource.
- disable
Flag String - failed
Flag String - name String
- note String
- version Double
This property is required. number- num
Return This property is required. number - values
This property is required. CnameRecord Pool Value[] - cname
Record stringPool Id - The constellix calculated id of the cname record pool resource.
- disable
Flag string - failed
Flag string - name string
- note string
- version number
- min_
available_ failover This property is required. float - num_
return This property is required. float - values
This property is required. Sequence[CnameRecord Pool Value Args] - cname_
record_ strpool_ id - The constellix calculated id of the cname record pool resource.
- disable_
flag str - failed_
flag str - name str
- note str
- version float
This property is required. Number- num
Return This property is required. Number - values
This property is required. List<Property Map> - cname
Record StringPool Id - The constellix calculated id of the cname record pool resource.
- disable
Flag String - failed
Flag String - name String
- note String
- version Number
Outputs
All input properties are implicitly available as output properties. Additionally, the CnameRecordPool resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CnameRecordPool Resource
Get an existing CnameRecordPool 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?: CnameRecordPoolState, opts?: CustomResourceOptions): CnameRecordPool
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cname_record_pool_id: Optional[str] = None,
disable_flag: Optional[str] = None,
failed_flag: Optional[str] = None,
min_available_failover: Optional[float] = None,
name: Optional[str] = None,
note: Optional[str] = None,
num_return: Optional[float] = None,
values: Optional[Sequence[CnameRecordPoolValueArgs]] = None,
version: Optional[float] = None) -> CnameRecordPool
func GetCnameRecordPool(ctx *Context, name string, id IDInput, state *CnameRecordPoolState, opts ...ResourceOption) (*CnameRecordPool, error)
public static CnameRecordPool Get(string name, Input<string> id, CnameRecordPoolState? state, CustomResourceOptions? opts = null)
public static CnameRecordPool get(String name, Output<String> id, CnameRecordPoolState state, CustomResourceOptions options)
resources: _: type: constellix:CnameRecordPool get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Cname
Record stringPool Id - The constellix calculated id of the cname record pool resource.
- Disable
Flag string - Failed
Flag string - double
- Name string
- Note string
- Num
Return double - Values
List<Cname
Record Pool Value> - Version double
- Cname
Record stringPool Id - The constellix calculated id of the cname record pool resource.
- Disable
Flag string - Failed
Flag string - float64
- Name string
- Note string
- Num
Return float64 - Values
[]Cname
Record Pool Value Args - Version float64
- cname
Record StringPool Id - The constellix calculated id of the cname record pool resource.
- disable
Flag String - failed
Flag String - Double
- name String
- note String
- num
Return Double - values
List<Cname
Record Pool Value> - version Double
- cname
Record stringPool Id - The constellix calculated id of the cname record pool resource.
- disable
Flag string - failed
Flag string - number
- name string
- note string
- num
Return number - values
Cname
Record Pool Value[] - version number
- cname_
record_ strpool_ id - The constellix calculated id of the cname record pool resource.
- disable_
flag str - failed_
flag str - min_
available_ floatfailover - name str
- note str
- num_
return float - values
Sequence[Cname
Record Pool Value Args] - version float
- cname
Record StringPool Id - The constellix calculated id of the cname record pool resource.
- disable
Flag String - failed
Flag String - Number
- name String
- note String
- num
Return Number - values List<Property Map>
- version Number
Supporting Types
CnameRecordPoolValue, CnameRecordPoolValueArgs
- Policy
This property is required. string - Value
This property is required. string - Weight
This property is required. double - Check
Id double - Disable
Flag string
- Policy
This property is required. string - Value
This property is required. string - Weight
This property is required. float64 - Check
Id float64 - Disable
Flag string
- policy
This property is required. String - value
This property is required. String - weight
This property is required. Double - check
Id Double - disable
Flag String
- policy
This property is required. string - value
This property is required. string - weight
This property is required. number - check
Id number - disable
Flag string
- policy
This property is required. str - value
This property is required. str - weight
This property is required. float - check_
id float - disable_
flag str
- policy
This property is required. String - value
This property is required. String - weight
This property is required. Number - check
Id Number - disable
Flag String
Package Details
- Repository
- constellix constellix/terraform-provider-constellix
- License
- Notes
- This Pulumi package is based on the
constellix
Terraform Provider.