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.
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, System.Collections.Generic.IEnumerable<string> zones = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSecretReference> secretReferences = 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, 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, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority? priority = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIdentityAccessControlLevels identityAcls = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfileReferenceDefinition containerGroupProfile = default, Azure.ResourceManager.ContainerInstance.Models.StandbyPoolProfileDefinition standbyPoolProfile = default, bool? isCreatedFromStandbyPool = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics diagnosticsLogAnalytics = default, string confidentialComputeCcePolicy = default);
static member ContainerGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<string> * Azure.ResourceManager.Models.ManagedServiceIdentity * string * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSecretReference> * 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 * 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> * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIdentityAccessControlLevels * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupProfileReferenceDefinition * Azure.ResourceManager.ContainerInstance.Models.StandbyPoolProfileDefinition * Nullable<bool> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics * 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 zones As IEnumerable(Of String) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional provisioningState As String = Nothing, Optional secretReferences As IEnumerable(Of ContainerGroupSecretReference) = 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 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 priority As Nullable(Of ContainerGroupPriority) = Nothing, Optional identityAcls As ContainerGroupIdentityAccessControlLevels = Nothing, Optional containerGroupProfile As ContainerGroupProfileReferenceDefinition = Nothing, Optional standbyPoolProfile As StandbyPoolProfileDefinition = Nothing, Optional isCreatedFromStandbyPool As Nullable(Of Boolean) = Nothing, Optional diagnosticsLogAnalytics As ContainerGroupLogAnalytics = Nothing, Optional confidentialComputeCcePolicy As String = Nothing) As ContainerGroupData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- tags
- IDictionary<String,String>
Resource tags.
- location
- AzureLocation
The geo-location where the resource lives.
- zones
- IEnumerable<String>
The availability zones.
- 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.
- secretReferences
- IEnumerable<ContainerGroupSecretReference>
The secret references that will be referenced within the container group.
- 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 restart
- `OnFailure` Restart on failure
- `Never` 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.
- 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.
- priority
- Nullable<ContainerGroupPriority>
The priority of the container group.
- identityAcls
- ContainerGroupIdentityAccessControlLevels
The access control levels of the identities.
- containerGroupProfile
- ContainerGroupProfileReferenceDefinition
The reference container group profile properties.
- standbyPoolProfile
- StandbyPoolProfileDefinition
The reference standby pool profile properties.
The flag to determine whether the container group is created from standby pool.
- diagnosticsLogAnalytics
- ContainerGroupLogAnalytics
Container group log analytics information.
- confidentialComputeCcePolicy
- String
The base64 encoded confidential compute enforcement policy.
Returns
A new ContainerGroupData instance for mocking.
Exceptions
containers is null.