Share via


TenantAccessInfoCollection Class

Definition

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

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

Constructors

TenantAccessInfoCollection()

Initializes a new instance of the TenantAccessInfoCollection 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, AccessName, ETag, TenantAccessInfoCreateOrUpdateContent, CancellationToken)

Update tenant access information details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}
  • Operation Id: TenantAccess_Create
  • Default Api Version: 2023-03-01-preview
  • Resource: TenantAccessInfoResource
CreateOrUpdateAsync(WaitUntil, AccessName, ETag, TenantAccessInfoCreateOrUpdateContent, CancellationToken)

Update tenant access information details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}
  • Operation Id: TenantAccess_Create
  • Default Api Version: 2023-03-01-preview
  • Resource: TenantAccessInfoResource
Exists(AccessName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}
  • Operation Id: TenantAccess_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: TenantAccessInfoResource
ExistsAsync(AccessName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}
  • Operation Id: TenantAccess_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: TenantAccessInfoResource
Get(AccessName, CancellationToken)

Get tenant access information details without secrets.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}
  • Operation Id: TenantAccess_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: TenantAccessInfoResource
GetAll(String, CancellationToken)

Returns list of access infos - for Git and Management endpoints.

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

Returns list of access infos - for Git and Management endpoints.

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

Get tenant access information details without secrets.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}
  • Operation Id: TenantAccess_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: TenantAccessInfoResource
GetIfExists(AccessName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}
  • Operation Id: TenantAccess_Get
  • Default Api Version: 2023-03-01-preview
  • Resource: TenantAccessInfoResource
GetIfExistsAsync(AccessName, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<TenantAccessInfoResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to