共用方式為


ApiManagementGatewayHostnameConfigurationCollection Class

Definition

A class representing a collection of ApiManagementGatewayHostnameConfigurationResource and their operations. Each ApiManagementGatewayHostnameConfigurationResource in the collection will belong to the same instance of ApiManagementGatewayResource. To get an ApiManagementGatewayHostnameConfigurationCollection instance call the GetApiManagementGatewayHostnameConfigurations method from an instance of ApiManagementGatewayResource.

public class ApiManagementGatewayHostnameConfigurationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ApiManagement.ApiManagementGatewayHostnameConfigurationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.ApiManagementGatewayHostnameConfigurationResource>
type ApiManagementGatewayHostnameConfigurationCollection = class
    inherit ArmCollection
    interface seq<ApiManagementGatewayHostnameConfigurationResource>
    interface IEnumerable
    interface IAsyncEnumerable<ApiManagementGatewayHostnameConfigurationResource>
Public Class ApiManagementGatewayHostnameConfigurationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ApiManagementGatewayHostnameConfigurationResource), IEnumerable(Of ApiManagementGatewayHostnameConfigurationResource)
Inheritance
ApiManagementGatewayHostnameConfigurationCollection
Implements

Constructors

ApiManagementGatewayHostnameConfigurationCollection()

Initializes a new instance of the ApiManagementGatewayHostnameConfigurationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ApiManagementGatewayHostnameConfigurationData, Nullable<ETag>, CancellationToken)

Creates of updates hostname configuration for a Gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations/{hcId}
  • Operation Id: GatewayHostnameConfiguration_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementGatewayHostnameConfigurationData, Nullable<ETag>, CancellationToken)

Creates of updates hostname configuration for a Gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations/{hcId}
  • Operation Id: GatewayHostnameConfiguration_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations/{hcId}
  • Operation Id: GatewayHostnameConfiguration_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations/{hcId}
  • Operation Id: GatewayHostnameConfiguration_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
Get(String, CancellationToken)

Get details of a hostname configuration

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations/{hcId}
  • Operation Id: GatewayHostnameConfiguration_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists the collection of hostname configurations for the specified gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations
  • Operation Id: GatewayHostnameConfiguration_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

Lists the collection of hostname configurations for the specified gateway.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations
  • Operation Id: GatewayHostnameConfiguration_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
GetAsync(String, CancellationToken)

Get details of a hostname configuration

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations/{hcId}
  • Operation Id: GatewayHostnameConfiguration_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations/{hcId}
  • Operation Id: GatewayHostnameConfiguration_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId}/hostnameConfigurations/{hcId}
  • Operation Id: GatewayHostnameConfiguration_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementGatewayHostnameConfigurationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ApiManagementGatewayHostnameConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementGatewayHostnameConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to