Condividi tramite


ServiceWorkspaceNamedValueCollection Class

Definition

A class representing a collection of ServiceWorkspaceNamedValueResource and their operations. Each ServiceWorkspaceNamedValueResource in the collection will belong to the same instance of WorkspaceContractResource. To get a ServiceWorkspaceNamedValueCollection instance call the GetServiceWorkspaceNamedValues method from an instance of WorkspaceContractResource.

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

Constructors

ServiceWorkspaceNamedValueCollection()

Initializes a new instance of the ServiceWorkspaceNamedValueCollection 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}/workspaces/{workspaceId}/namedValues/{namedValueId}
  • Operation Id: WorkspaceNamedValue_CreateOrUpdate
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceNamedValueResource
CreateOrUpdateAsync(WaitUntil, String, ApiManagementNamedValueCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

Creates or updates named value.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues/{namedValueId}
  • Operation Id: WorkspaceNamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceNamedValueResource
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}/workspaces/{workspaceId}/namedValues/{namedValueId}
  • Operation Id: WorkspaceNamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceNamedValueResource
GetAll(String, Nullable<Int32>, Nullable<Int32>, Nullable<KeyVaultRefreshState>, CancellationToken)

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

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

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/namedValues
  • Operation Id: WorkspaceNamedValue_ListByService
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceNamedValueResource
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}/workspaces/{workspaceId}/namedValues/{namedValueId}
  • Operation Id: WorkspaceNamedValue_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: ServiceWorkspaceNamedValueResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ServiceWorkspaceNamedValueResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to