SupportExtensions.GetTenantFileWorkspace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets details for a specific file workspace. <item> Mocking. To mock this method, please mock GetTenantFileWorkspace(String, CancellationToken) instead. </item>
public static Azure.Response<Azure.ResourceManager.Support.TenantFileWorkspaceResource> GetTenantFileWorkspace(this Azure.ResourceManager.Resources.TenantResource tenantResource, string fileWorkspaceName, System.Threading.CancellationToken cancellationToken = default);
static member GetTenantFileWorkspace : Azure.ResourceManager.Resources.TenantResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Support.TenantFileWorkspaceResource>
<Extension()>
Public Function GetTenantFileWorkspace (tenantResource As TenantResource, fileWorkspaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TenantFileWorkspaceResource)
Parameters
- tenantResource
- TenantResource
The TenantResource the method will execute against.
- fileWorkspaceName
- String
The name of the FileWorkspaceDetails.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
fileWorkspaceName is an empty string, and was expected to be non-empty.
tenantResource is null.