OperationalInsightsLinkedStorageAccountsCollection Class

Definition

A class representing a collection of OperationalInsightsLinkedStorageAccountsResource and their operations. Each OperationalInsightsLinkedStorageAccountsResource in the collection will belong to the same instance of OperationalInsightsWorkspaceResource. To get an OperationalInsightsLinkedStorageAccountsCollection instance call the GetOperationalInsightsLinkedStorageAccounts method from an instance of OperationalInsightsWorkspaceResource.

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

Constructors

OperationalInsightsLinkedStorageAccountsCollection()

Initializes a new instance of the OperationalInsightsLinkedStorageAccountsCollection 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, OperationalInsightsDataSourceType, OperationalInsightsLinkedStorageAccountsData, CancellationToken)

Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
  • Operation Id: LinkedStorageAccounts_CreateOrUpdate
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
CreateOrUpdateAsync(WaitUntil, OperationalInsightsDataSourceType, OperationalInsightsLinkedStorageAccountsData, CancellationToken)

Create or Update a link relation between current workspace and a group of storage accounts of a specific data source type.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
  • Operation Id: LinkedStorageAccounts_CreateOrUpdate
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
Exists(OperationalInsightsDataSourceType, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
  • Operation Id: LinkedStorageAccounts_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
ExistsAsync(OperationalInsightsDataSourceType, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
  • Operation Id: LinkedStorageAccounts_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
Get(OperationalInsightsDataSourceType, CancellationToken)

Gets all linked storage account of a specific data source type associated with the specified workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
  • Operation Id: LinkedStorageAccounts_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
GetAll(CancellationToken)

Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts
  • Operation Id: LinkedStorageAccounts_ListByWorkspace
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
GetAllAsync(CancellationToken)

Gets all linked storage accounts associated with the specified workspace, storage accounts will be sorted by their data source type.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts
  • Operation Id: LinkedStorageAccounts_ListByWorkspace
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
GetAsync(OperationalInsightsDataSourceType, CancellationToken)

Gets all linked storage account of a specific data source type associated with the specified workspace.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
  • Operation Id: LinkedStorageAccounts_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
GetIfExists(OperationalInsightsDataSourceType, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
  • Operation Id: LinkedStorageAccounts_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
GetIfExistsAsync(OperationalInsightsDataSourceType, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedStorageAccounts/{dataSourceType}
  • Operation Id: LinkedStorageAccounts_Get
  • Default Api Version: 2020-08-01
  • Resource: OperationalInsightsLinkedStorageAccountsResource
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<OperationalInsightsLinkedStorageAccountsResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<OperationalInsightsLinkedStorageAccountsResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to