Share via


ApiManagementNamedValueCollection Class

Definition

A class representing a collection of ApiManagementNamedValueResource and their operations. Each ApiManagementNamedValueResource in the collection will belong to the same instance of ApiManagementServiceResource. To get an ApiManagementNamedValueCollection instance call the GetApiManagementNamedValues method from an instance of ApiManagementServiceResource.

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

Constructors

ApiManagementNamedValueCollection()

Initializes a new instance of the ApiManagementNamedValueCollection 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, ApiManagementNamedValueCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

Creates or updates named value.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
  • Operation Id: NamedValue_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNamedValueResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementNamedValueCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

Creates or updates named value.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
  • Operation Id: NamedValue_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNamedValueResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
  • Operation Id: NamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNamedValueResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
  • Operation Id: NamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNamedValueResource
Get(String, CancellationToken)

Gets the details of the named value specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
  • Operation Id: NamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNamedValueResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, CancellationToken)

Lists a collection of named values defined within a service instance.

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

Lists a collection of named values defined within a service instance.

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

Gets the details of the named value specified by its identifier.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
  • Operation Id: NamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNamedValueResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
  • Operation Id: NamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNamedValueResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/namedValues/{namedValueId}
  • Operation Id: NamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ApiManagementNamedValueResource
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<ApiManagementNamedValueResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ApiManagementNamedValueResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to