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.
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, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku? sku = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupEncryptionProperties encryptionProperties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> containers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent> initContainers = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.DeploymentExtensionSpec> extensions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential> imageRegistryCredentials = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy? restartPolicy = default, DateTimeOffset? shutdownGracePeriod = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddress ipAddress = default, DateTimeOffset? timeToLive = default, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType? osType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerInstance.Models.ContainerVolume> volumes = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority? priority = default, Azure.ResourceManager.ContainerInstance.Models.ContainerSecurityContextDefinition securityContext = default, int? revision = default, System.Collections.Generic.IEnumerable<int> registeredRevisions = default, bool? useKrypton = default, Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics diagnosticsLogAnalytics = default, string confidentialComputeCcePolicy = 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 * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupSku> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupEncryptionProperties * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceContainer> * seq<Azure.ResourceManager.ContainerInstance.Models.InitContainerDefinitionContent> * seq<Azure.ResourceManager.ContainerInstance.Models.DeploymentExtensionSpec> * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupImageRegistryCredential> * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupRestartPolicy> * Nullable<DateTimeOffset> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupIPAddress * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceOperatingSystemType> * seq<Azure.ResourceManager.ContainerInstance.Models.ContainerVolume> * Nullable<Azure.ResourceManager.ContainerInstance.Models.ContainerGroupPriority> * Azure.ResourceManager.ContainerInstance.Models.ContainerSecurityContextDefinition * Nullable<int> * seq<int> * Nullable<bool> * Azure.ResourceManager.ContainerInstance.Models.ContainerGroupLogAnalytics * string * 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 sku As Nullable(Of ContainerGroupSku) = Nothing, Optional encryptionProperties As ContainerGroupEncryptionProperties = Nothing, Optional containers As IEnumerable(Of ContainerInstanceContainer) = Nothing, Optional initContainers As IEnumerable(Of InitContainerDefinitionContent) = Nothing, Optional extensions As IEnumerable(Of DeploymentExtensionSpec) = Nothing, Optional imageRegistryCredentials As IEnumerable(Of ContainerGroupImageRegistryCredential) = Nothing, Optional restartPolicy As Nullable(Of ContainerGroupRestartPolicy) = Nothing, Optional shutdownGracePeriod As Nullable(Of DateTimeOffset) = Nothing, Optional ipAddress As ContainerGroupIPAddress = Nothing, Optional timeToLive As Nullable(Of DateTimeOffset) = Nothing, Optional osType As Nullable(Of ContainerInstanceOperatingSystemType) = Nothing, Optional volumes As IEnumerable(Of ContainerVolume) = Nothing, Optional priority As Nullable(Of ContainerGroupPriority) = Nothing, Optional securityContext As ContainerSecurityContextDefinition = Nothing, Optional revision As Nullable(Of Integer) = Nothing, Optional registeredRevisions As IEnumerable(Of Integer) = Nothing, Optional useKrypton As Nullable(Of Boolean) = Nothing, Optional diagnosticsLogAnalytics As ContainerGroupLogAnalytics = Nothing, Optional confidentialComputeCcePolicy As String = Nothing, Optional zones As IEnumerable(Of String) = Nothing) As ContainerGroupProfileData
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.
The SKU for a container group.
- encryptionProperties
- ContainerGroupEncryptionProperties
The encryption properties for a container group.
- containers
- IEnumerable<ContainerInstanceContainer>
The containers within the container group.
- initContainers
- IEnumerable<InitContainerDefinitionContent>
The init containers for a container group.
- extensions
- IEnumerable<DeploymentExtensionSpec>
extensions used by virtual kubelet.
- 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
- shutdownGracePeriod
- Nullable<DateTimeOffset>
Shutdown grace period for containers in a container group.
- ipAddress
- ContainerGroupIPAddress
The IP address type of the container group.
- timeToLive
- Nullable<DateTimeOffset>
Post completion time to live for containers of a CG.
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.
- priority
- Nullable<ContainerGroupPriority>
The priority of the container group.
- securityContext
- ContainerSecurityContextDefinition
The container security properties.
- registeredRevisions
- IEnumerable<Int32>
Registered revisions are calculated at request time based off the records in the table logs.
- diagnosticsLogAnalytics
- ContainerGroupLogAnalytics
Container group log analytics information.
- confidentialComputeCcePolicy
- String
The base64 encoded confidential compute enforcement policy.
- zones
- IEnumerable<String>
The availability zones.
Returns
A new ContainerGroupProfileData instance for mocking.