ArmContainerInstanceModelFactory.ContainerGroupData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ContainerGroupData.
public static Azure.ResourceManager.ContainerInstance.ContainerGroupData ContainerGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> containers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential> imageRegistryCredentials = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy? restartPolicy = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddress ipAddress = default, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType? containerGroupOSType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerVolume> volumes = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupInstanceView instanceView = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics diagnosticsLogAnalytics = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSubnetId> subnetIds = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupDnsConfiguration dnsConfig = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku? sku = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupEncryptionProperties encryptionProperties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent> initContainers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.DeploymentExtensionSpec> extensions = default, string confidentialComputeCcePolicy = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority? priority = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfileReferenceDefinition containerGroupProfile = default, Azure.ResourceManager.ContainerInstance.Models.StandbyPoolProfileDefinition standbyPoolProfile = default, bool? isCreatedFromStandbyPool = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member ContainerGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * string * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential> * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddress * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType> * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerVolume> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupInstanceView * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSubnetId> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupDnsConfiguration * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupEncryptionProperties * seq<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent> * seq<Azure.ResourceManager.ContainerInstance.Models.DeploymentExtensionSpec> * string * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfileReferenceDefinition * Azure.ResourceManager.ContainerInstance.Models.StandbyPoolProfileDefinition * Nullable<bool> * seq<string> -> Azure.ResourceManager.ContainerInstance.ContainerGroupData
Public Shared Function ContainerGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional provisioningState As String = Nothing, Optional containers As IEnumerable(Of ContainerInstanceContainer) = Nothing, Optional imageRegistryCredentials As IEnumerable(Of ContainerGroupImageRegistryCredential) = Nothing, Optional restartPolicy As Nullable(Of ContainerGroupRestartPolicy) = Nothing, Optional ipAddress As ContainerGroupIPAddress = Nothing, Optional containerGroupOSType As Nullable(Of ContainerInstanceOperatingSystemType) = Nothing, Optional volumes As IEnumerable(Of ContainerVolume) = Nothing, Optional instanceView As ContainerGroupInstanceView = Nothing, Optional diagnosticsLogAnalytics As ContainerGroupLogAnalytics = Nothing, Optional subnetIds As IEnumerable(Of ContainerGroupSubnetId) = Nothing, Optional dnsConfig As ContainerGroupDnsConfiguration = Nothing, Optional sku As Nullable(Of ContainerGroupSku) = Nothing, Optional encryptionProperties As ContainerGroupEncryptionProperties = Nothing, Optional initContainers As IEnumerable(Of InitContainerDefinitionContent) = Nothing, Optional extensions As IEnumerable(Of DeploymentExtensionSpec) = Nothing, Optional confidentialComputeCcePolicy As String = Nothing, Optional priority As Nullable(Of ContainerGroupPriority) = Nothing, Optional containerGroupProfile As ContainerGroupProfileReferenceDefinition = Nothing, Optional standbyPoolProfile As StandbyPoolProfileDefinition = Nothing, Optional isCreatedFromStandbyPool As Nullable(Of Boolean) = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As ContainerGroupData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- identity
- ManagedServiceIdentity
The identity of the container group, if configured.
- provisioningState
- String
The provisioning state of the container group. This only appears in the response.
- containers
- IEnumerable<ContainerInstanceContainer>
The containers within the container group.
- imageRegistryCredentials
- IEnumerable<ContainerGroupImageRegistryCredential>
The image registry credentials by which the container group is created from.
- restartPolicy
- Nullable<ContainerGroupRestartPolicy>
Restart policy for all containers within the container group.
Always
Always restartOnFailure
Restart on failureNever
Never restart
- ipAddress
- ContainerGroupIPAddress
The IP address type of the container group.
- containerGroupOSType
- Nullable<ContainerInstanceOperatingSystemType>
The operating system type required by the containers in the container group.
- volumes
- IEnumerable<ContainerVolume>
The list of volumes that can be mounted by containers in this container group.
- instanceView
- ContainerGroupInstanceView
The instance view of the container group. Only valid in response.
- diagnosticsLogAnalytics
- ContainerGroupLogAnalytics
The diagnostic information for a container group.
- subnetIds
- IEnumerable<ContainerGroupSubnetId>
The subnet resource IDs for a container group.
- dnsConfig
- ContainerGroupDnsConfiguration
The DNS config information for a container group.
The SKU for a container group.
- encryptionProperties
- ContainerGroupEncryptionProperties
The encryption properties for a container group.
- initContainers
- IEnumerable<InitContainerDefinitionContent>
The init containers for a container group.
- extensions
- IEnumerable<DeploymentExtensionSpec>
extensions used by virtual kubelet.
- confidentialComputeCcePolicy
- String
The properties for confidential container group.
- priority
- Nullable<ContainerGroupPriority>
The priority of the container group.
- containerGroupProfile
- ContainerGroupProfileReferenceDefinition
The reference container group profile properties.
- standbyPoolProfile
- StandbyPoolProfileDefinition
The reference standby pool profile properties.
The flag indicating whether the container group is created by standby pool.
- zones
- IEnumerable<String>
The zones for the container group.
Returns
A new ContainerGroupData instance for mocking.
Applies to
Azure SDK for .NET