azure-native-v2.standbypool.StandbyContainerGroupPool
Explore with Pulumi AI
A StandbyContainerGroupPoolResource. Azure REST API version: 2023-12-01-preview.
Other available API versions: 2024-03-01, 2024-03-01-preview.
Create StandbyContainerGroupPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StandbyContainerGroupPool(name: string, args: StandbyContainerGroupPoolArgs, opts?: CustomResourceOptions);
@overload
def StandbyContainerGroupPool(resource_name: str,
args: StandbyContainerGroupPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StandbyContainerGroupPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
container_group_properties: Optional[ContainerGroupPropertiesArgs] = None,
elasticity_profile: Optional[StandbyContainerGroupPoolElasticityProfileArgs] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
standby_container_group_pool_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewStandbyContainerGroupPool(ctx *Context, name string, args StandbyContainerGroupPoolArgs, opts ...ResourceOption) (*StandbyContainerGroupPool, error)
public StandbyContainerGroupPool(string name, StandbyContainerGroupPoolArgs args, CustomResourceOptions? opts = null)
public StandbyContainerGroupPool(String name, StandbyContainerGroupPoolArgs args)
public StandbyContainerGroupPool(String name, StandbyContainerGroupPoolArgs args, CustomResourceOptions options)
type: azure-native:standbypool:StandbyContainerGroupPool
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. StandbyContainerGroupPoolArgs - 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. StandbyContainerGroupPoolArgs - 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. StandbyContainerGroupPoolArgs - 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. StandbyContainerGroupPoolArgs - 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. StandbyContainerGroupPoolArgs - 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 standbyContainerGroupPoolResource = new AzureNative.Standbypool.StandbyContainerGroupPool("standbyContainerGroupPoolResource", new()
{
ContainerGroupProperties =
{
{ "containerGroupProfile",
{
{ "id", "string" },
{ "revision", 0 },
} },
{ "subnetIds", new[]
{
{
{ "id", "string" },
},
} },
},
ElasticityProfile =
{
{ "maxReadyCapacity", 0 },
{ "refillPolicy", "string" },
},
ResourceGroupName = "string",
Location = "string",
StandbyContainerGroupPoolName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := standbypool.NewStandbyContainerGroupPool(ctx, "standbyContainerGroupPoolResource", &standbypool.StandbyContainerGroupPoolArgs{
ContainerGroupProperties: map[string]interface{}{
"containerGroupProfile": map[string]interface{}{
"id": "string",
"revision": 0,
},
"subnetIds": []map[string]interface{}{
map[string]interface{}{
"id": "string",
},
},
},
ElasticityProfile: map[string]interface{}{
"maxReadyCapacity": 0,
"refillPolicy": "string",
},
ResourceGroupName: "string",
Location: "string",
StandbyContainerGroupPoolName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var standbyContainerGroupPoolResource = new StandbyContainerGroupPool("standbyContainerGroupPoolResource", StandbyContainerGroupPoolArgs.builder()
.containerGroupProperties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.elasticityProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.location("string")
.standbyContainerGroupPoolName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
standby_container_group_pool_resource = azure_native.standbypool.StandbyContainerGroupPool("standbyContainerGroupPoolResource",
container_group_properties={
containerGroupProfile: {
id: string,
revision: 0,
},
subnetIds: [{
id: string,
}],
},
elasticity_profile={
maxReadyCapacity: 0,
refillPolicy: string,
},
resource_group_name=string,
location=string,
standby_container_group_pool_name=string,
tags={
string: string,
})
const standbyContainerGroupPoolResource = new azure_native.standbypool.StandbyContainerGroupPool("standbyContainerGroupPoolResource", {
containerGroupProperties: {
containerGroupProfile: {
id: "string",
revision: 0,
},
subnetIds: [{
id: "string",
}],
},
elasticityProfile: {
maxReadyCapacity: 0,
refillPolicy: "string",
},
resourceGroupName: "string",
location: "string",
standbyContainerGroupPoolName: "string",
tags: {
string: "string",
},
});
type: azure-native:standbypool:StandbyContainerGroupPool
properties:
containerGroupProperties:
containerGroupProfile:
id: string
revision: 0
subnetIds:
- id: string
elasticityProfile:
maxReadyCapacity: 0
refillPolicy: string
location: string
resourceGroupName: string
standbyContainerGroupPoolName: string
tags:
string: string
StandbyContainerGroupPool 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 StandbyContainerGroupPool resource accepts the following input properties:
- Container
Group Properties This property is required. Pulumi.Azure Native. Standby Pool. Inputs. Container Group Properties - Specifies container group properties of standby container group pools.
- Elasticity
Profile This property is required. Pulumi.Azure Native. Standby Pool. Inputs. Standby Container Group Pool Elasticity Profile - Specifies elasticity profile of standby container group pools.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Standby
Container Group Pool Name Changes to this property will trigger replacement.
- Name of the standby container group pool
- Dictionary<string, string>
- Resource tags.
- Container
Group Properties This property is required. ContainerGroup Properties Args - Specifies container group properties of standby container group pools.
- Elasticity
Profile This property is required. StandbyContainer Group Pool Elasticity Profile Args - Specifies elasticity profile of standby container group pools.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Standby
Container Group Pool Name Changes to this property will trigger replacement.
- Name of the standby container group pool
- map[string]string
- Resource tags.
- container
Group Properties This property is required. ContainerGroup Properties - Specifies container group properties of standby container group pools.
- elasticity
Profile This property is required. StandbyContainer Group Pool Elasticity Profile - Specifies elasticity profile of standby container group pools.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- standby
Container Group Pool Name Changes to this property will trigger replacement.
- Name of the standby container group pool
- Map<String,String>
- Resource tags.
- container
Group Properties This property is required. ContainerGroup Properties - Specifies container group properties of standby container group pools.
- elasticity
Profile This property is required. StandbyContainer Group Pool Elasticity Profile - Specifies elasticity profile of standby container group pools.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- standby
Container Group Pool Name Changes to this property will trigger replacement.
- Name of the standby container group pool
- {[key: string]: string}
- Resource tags.
- container_
group_ properties This property is required. ContainerGroup Properties Args - Specifies container group properties of standby container group pools.
- elasticity_
profile This property is required. StandbyContainer Group Pool Elasticity Profile Args - Specifies elasticity profile of standby container group pools.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- standby_
container_ group_ pool_ name Changes to this property will trigger replacement.
- Name of the standby container group pool
- Mapping[str, str]
- Resource tags.
- container
Group Properties This property is required. Property Map - Specifies container group properties of standby container group pools.
- elasticity
Profile This property is required. Property Map - Specifies elasticity profile of standby container group pools.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- standby
Container Group Pool Name Changes to this property will trigger replacement.
- Name of the standby container group pool
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the StandbyContainerGroupPool resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The status of the last operation.
- System
Data Pulumi.Azure Native. Standby Pool. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The status of the last operation.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The status of the last operation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The status of the last operation.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - The status of the last operation.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The status of the last operation.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
ContainerGroupProfile, ContainerGroupProfileArgs
ContainerGroupProfileResponse, ContainerGroupProfileResponseArgs
ContainerGroupProperties, ContainerGroupPropertiesArgs
- Container
Group Profile This property is required. Pulumi.Azure Native. Standby Pool. Inputs. Container Group Profile - Specifies container group profile of standby container groups.
- Subnet
Ids List<Pulumi.Azure Native. Standby Pool. Inputs. Subnet> - Specifies subnet Ids for container group.
- Container
Group Profile This property is required. ContainerGroup Profile - Specifies container group profile of standby container groups.
- Subnet
Ids []Subnet - Specifies subnet Ids for container group.
- container
Group Profile This property is required. ContainerGroup Profile - Specifies container group profile of standby container groups.
- subnet
Ids List<Subnet> - Specifies subnet Ids for container group.
- container
Group Profile This property is required. ContainerGroup Profile - Specifies container group profile of standby container groups.
- subnet
Ids Subnet[] - Specifies subnet Ids for container group.
- container_
group_ profile This property is required. ContainerGroup Profile - Specifies container group profile of standby container groups.
- subnet_
ids Sequence[Subnet] - Specifies subnet Ids for container group.
- container
Group Profile This property is required. Property Map - Specifies container group profile of standby container groups.
- subnet
Ids List<Property Map> - Specifies subnet Ids for container group.
ContainerGroupPropertiesResponse, ContainerGroupPropertiesResponseArgs
- Container
Group Profile This property is required. Pulumi.Azure Native. Standby Pool. Inputs. Container Group Profile Response - Specifies container group profile of standby container groups.
- Subnet
Ids List<Pulumi.Azure Native. Standby Pool. Inputs. Subnet Response> - Specifies subnet Ids for container group.
- Container
Group Profile This property is required. ContainerGroup Profile Response - Specifies container group profile of standby container groups.
- Subnet
Ids []SubnetResponse - Specifies subnet Ids for container group.
- container
Group Profile This property is required. ContainerGroup Profile Response - Specifies container group profile of standby container groups.
- subnet
Ids List<SubnetResponse> - Specifies subnet Ids for container group.
- container
Group Profile This property is required. ContainerGroup Profile Response - Specifies container group profile of standby container groups.
- subnet
Ids SubnetResponse[] - Specifies subnet Ids for container group.
- container_
group_ profile This property is required. ContainerGroup Profile Response - Specifies container group profile of standby container groups.
- subnet_
ids Sequence[SubnetResponse] - Specifies subnet Ids for container group.
- container
Group Profile This property is required. Property Map - Specifies container group profile of standby container groups.
- subnet
Ids List<Property Map> - Specifies subnet Ids for container group.
RefillPolicy, RefillPolicyArgs
- Always
- alwaysA refill policy that standby pool is automatically refilled to maintain maxReadyCapacity.
- Refill
Policy Always - alwaysA refill policy that standby pool is automatically refilled to maintain maxReadyCapacity.
- Always
- alwaysA refill policy that standby pool is automatically refilled to maintain maxReadyCapacity.
- Always
- alwaysA refill policy that standby pool is automatically refilled to maintain maxReadyCapacity.
- ALWAYS
- alwaysA refill policy that standby pool is automatically refilled to maintain maxReadyCapacity.
- "always"
- alwaysA refill policy that standby pool is automatically refilled to maintain maxReadyCapacity.
StandbyContainerGroupPoolElasticityProfile, StandbyContainerGroupPoolElasticityProfileArgs
- Max
Ready Capacity This property is required. double - Specifies maximum number of standby container groups in the standby pool.
- Refill
Policy string | Pulumi.Azure Native. Standby Pool. Refill Policy - Specifies refill policy of the pool.
- Max
Ready Capacity This property is required. float64 - Specifies maximum number of standby container groups in the standby pool.
- Refill
Policy string | RefillPolicy - Specifies refill policy of the pool.
- max
Ready Capacity This property is required. Double - Specifies maximum number of standby container groups in the standby pool.
- refill
Policy String | RefillPolicy - Specifies refill policy of the pool.
- max
Ready Capacity This property is required. number - Specifies maximum number of standby container groups in the standby pool.
- refill
Policy string | RefillPolicy - Specifies refill policy of the pool.
- max_
ready_ capacity This property is required. float - Specifies maximum number of standby container groups in the standby pool.
- refill_
policy str | RefillPolicy - Specifies refill policy of the pool.
- max
Ready Capacity This property is required. Number - Specifies maximum number of standby container groups in the standby pool.
- refill
Policy String | "always" - Specifies refill policy of the pool.
StandbyContainerGroupPoolElasticityProfileResponse, StandbyContainerGroupPoolElasticityProfileResponseArgs
- Max
Ready Capacity This property is required. double - Specifies maximum number of standby container groups in the standby pool.
- Refill
Policy string - Specifies refill policy of the pool.
- Max
Ready Capacity This property is required. float64 - Specifies maximum number of standby container groups in the standby pool.
- Refill
Policy string - Specifies refill policy of the pool.
- max
Ready Capacity This property is required. Double - Specifies maximum number of standby container groups in the standby pool.
- refill
Policy String - Specifies refill policy of the pool.
- max
Ready Capacity This property is required. number - Specifies maximum number of standby container groups in the standby pool.
- refill
Policy string - Specifies refill policy of the pool.
- max_
ready_ capacity This property is required. float - Specifies maximum number of standby container groups in the standby pool.
- refill_
policy str - Specifies refill policy of the pool.
- max
Ready Capacity This property is required. Number - Specifies maximum number of standby container groups in the standby pool.
- refill
Policy String - Specifies refill policy of the pool.
Subnet, SubnetArgs
- Id
This property is required. string - Specifies ARM resource id of the subnet.
- Id
This property is required. string - Specifies ARM resource id of the subnet.
- id
This property is required. String - Specifies ARM resource id of the subnet.
- id
This property is required. string - Specifies ARM resource id of the subnet.
- id
This property is required. str - Specifies ARM resource id of the subnet.
- id
This property is required. String - Specifies ARM resource id of the subnet.
SubnetResponse, SubnetResponseArgs
- Id
This property is required. string - Specifies ARM resource id of the subnet.
- Id
This property is required. string - Specifies ARM resource id of the subnet.
- id
This property is required. String - Specifies ARM resource id of the subnet.
- id
This property is required. string - Specifies ARM resource id of the subnet.
- id
This property is required. str - Specifies ARM resource id of the subnet.
- id
This property is required. String - Specifies ARM resource id of the subnet.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:standbypool:StandbyContainerGroupPool pool /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyContainerGroupPoolName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0