ArmContainerInstanceModelFactory.ContainerGroupProfileData 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 ContainerGroupProfileData.
public static Azure.ResourceManager.ContainerInstance.ContainerGroupProfileData ContainerGroupProfileData (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<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 osType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerVolume> volumes = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics diagnosticsLogAnalytics = 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, int? revision = default, System.Collections.Generic.IEnumerable<string> zones = default);
static member ContainerGroupProfileData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential> * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddress * Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerVolume> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics * 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> * Nullable<int> * seq<string> -> Azure.ResourceManager.ContainerInstance.ContainerGroupProfileData
Public Shared Function ContainerGroupProfileData (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 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 osType As ContainerInstanceOperatingSystemType = Nothing, Optional volumes As IEnumerable(Of ContainerVolume) = Nothing, Optional diagnosticsLogAnalytics As ContainerGroupLogAnalytics = 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 revision As Nullable(Of Integer) = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As ContainerGroupProfileData
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.
- 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.
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.
- diagnosticsLogAnalytics
- ContainerGroupLogAnalytics
The diagnostic 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.
The container group profile current revision number. This only appears in the response.
- zones
- IEnumerable<String>
The zones for the container group.
Returns
A new ContainerGroupProfileData instance for mocking.