Compartir a través de


DevSpacesExtensions.GetContainerHostMappingContainerHostMappingAsync Método

Definición

Devuelve el objeto de asignación de host de contenedor para un identificador de recurso de host de contenedor si existe un controlador asociado.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping
  • IdContainerHostMappings_GetContainerHostMapping de operación
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevSpaces.Models.ContainerHostMapping>> GetContainerHostMappingContainerHostMappingAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DevSpaces.Models.ContainerHostMapping containerHostMapping, System.Threading.CancellationToken cancellationToken = default);
static member GetContainerHostMappingContainerHostMappingAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * Azure.ResourceManager.DevSpaces.Models.ContainerHostMapping * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevSpaces.Models.ContainerHostMapping>>
<Extension()>
Public Function GetContainerHostMappingContainerHostMappingAsync (resourceGroupResource As ResourceGroupResource, location As AzureLocation, containerHostMapping As ContainerHostMapping, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerHostMapping))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

location
AzureLocation

Ubicación del host del contenedor.

containerHostMapping
ContainerHostMapping

ContainerHostMapping que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

containerHostMapping es null.

Se aplica a