Compartilhar via


DevSpacesExtensions.GetContainerHostMappingContainerHostMapping Método

Definição

Retorna o objeto de mapeamento de host de contêiner para uma ID de recurso de host de contêiner se houver um controlador associado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping
  • IdContainerHostMappings_GetContainerHostMapping de operação
public static Azure.Response<Azure.ResourceManager.DevSpaces.Models.ContainerHostMapping> GetContainerHostMappingContainerHostMapping (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DevSpaces.Models.ContainerHostMapping containerHostMapping, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerHostMappingContainerHostMapping : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DevSpaces.Models.ContainerHostMapping * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevSpaces.Models.ContainerHostMapping>
<Extension()>
Public Function GetContainerHostMappingContainerHostMapping (resourceGroupResource As ResourceGroupResource, location As AzureLocation, containerHostMapping As ContainerHostMapping, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ContainerHostMapping)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

location
AzureLocation

Local do host do contêiner.

containerHostMapping
ContainerHostMapping

O ContainerHostMapping a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

containerHostMapping é nulo.

Aplica-se a