Share via


SubscriptionFileWorkspaceCollection Class

Definition

A class representing a collection of SubscriptionFileWorkspaceResource and their operations. Each SubscriptionFileWorkspaceResource in the collection will belong to the same instance of SubscriptionResource. To get a SubscriptionFileWorkspaceCollection instance call the GetSubscriptionFileWorkspaces method from an instance of SubscriptionResource.

public class SubscriptionFileWorkspaceCollection : Azure.ResourceManager.ArmCollection
type SubscriptionFileWorkspaceCollection = class
    inherit ArmCollection
Public Class SubscriptionFileWorkspaceCollection
Inherits ArmCollection
Inheritance
SubscriptionFileWorkspaceCollection

Constructors

SubscriptionFileWorkspaceCollection()

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

Creates a new file workspace for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}
  • Operation Id: FileWorkspaces_Create
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionFileWorkspaceResource
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

Creates a new file workspace for the specified subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}
  • Operation Id: FileWorkspaces_Create
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionFileWorkspaceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}
  • Operation Id: FileWorkspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionFileWorkspaceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}
  • Operation Id: FileWorkspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionFileWorkspaceResource
Get(String, CancellationToken)

Gets details for a specific file workspace in an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}
  • Operation Id: FileWorkspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionFileWorkspaceResource
GetAsync(String, CancellationToken)

Gets details for a specific file workspace in an Azure subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}
  • Operation Id: FileWorkspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionFileWorkspaceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}
  • Operation Id: FileWorkspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionFileWorkspaceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Support/fileWorkspaces/{fileWorkspaceName}
  • Operation Id: FileWorkspaces_Get
  • Default Api Version: 2024-04-01
  • Resource: SubscriptionFileWorkspaceResource
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Applies to