Compartilhar via


ArmContainerInstanceModelFactory.ContainerGroupData Método

Definição

Inicializa uma nova instância de 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, System.Collections.Generic.IEnumerable<string> zones = 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 osType = 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);
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.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.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.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 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 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) As ContainerGroupData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

zones
IEnumerable<String>

As zonas do grupo de contêineres.

identity
ManagedServiceIdentity

A identidade do grupo de contêineres, se configurada.

provisioningState
String

O estado de provisionamento do grupo de contêineres. Isso só aparece na resposta.

containers
IEnumerable<ContainerInstanceContainer>

Os contêineres dentro do grupo de contêineres.

imageRegistryCredentials
IEnumerable<ContainerGroupImageRegistryCredential>

As credenciais do registro de imagem pelas quais o grupo de contêineres é criado.

restartPolicy
Nullable<ContainerGroupRestartPolicy>

A política de reinicialização para todos os contêineres no grupo.

  • Always Sempre reiniciar
  • OnFailure Reiniciar em caso de falha
  • Never Nunca reiniciar
ipAddress
ContainerGroupIPAddress

O tipo de endereço IP do grupo de contêineres.

osType
ContainerInstanceOperatingSystemType

O tipo de sistema operacional exigido pelos contêineres do grupo.

volumes
IEnumerable<ContainerVolume>

A lista de volumes que podem ser montados pelos contêineres do grupo.

instanceView
ContainerGroupInstanceView

A exibição de instância do grupo de contêineres. Válido apenas em resposta.

diagnosticsLogAnalytics
ContainerGroupLogAnalytics

As informações de diagnóstico de um grupo de contêineres.

subnetIds
IEnumerable<ContainerGroupSubnetId>

As IDs de recurso de sub-rede para um grupo de contêineres.

dnsConfig
ContainerGroupDnsConfiguration

As informações de configuração de DNS de um grupo de contêineres.

sku
Nullable<ContainerGroupSku>

A SKU de um grupo de contêineres.

encryptionProperties
ContainerGroupEncryptionProperties

As propriedades de criptografia de um grupo de contêineres.

initContainers
IEnumerable<InitContainerDefinitionContent>

Os contêineres de inicialização de um grupo de contêineres.

extensions
IEnumerable<DeploymentExtensionSpec>

extensões usadas pelo kubelet virtual.

confidentialComputeCcePolicy
String

As propriedades do grupo de contêineres confidenciais.

priority
Nullable<ContainerGroupPriority>

A prioridade do grupo de contêineres.

Retornos

Uma nova ContainerGroupData instância para zombar.

Aplica-se a