Share via


DefenderEasmExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.DefenderEasm.

public static class DefenderEasmExtensions
type DefenderEasmExtensions = class
Public Module DefenderEasmExtensions
Inheritance
DefenderEasmExtensions

Methods

GetEasmLabelResource(ArmClient, ResourceIdentifier)

Gets an object representing an EasmLabelResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create an EasmLabelResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEasmLabelResource(ResourceIdentifier) instead.

GetEasmWorkspace(ResourceGroupResource, String, CancellationToken)

Returns a workspace with the given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
GetEasmWorkspaceAsync(ResourceGroupResource, String, CancellationToken)

Returns a workspace with the given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Easm/workspaces/{workspaceName}
  • Operation Id: Workspaces_Get
GetEasmWorkspaceResource(ArmClient, ResourceIdentifier)

Gets an object representing an EasmWorkspaceResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create an EasmWorkspaceResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetEasmWorkspaceResource(ResourceIdentifier) instead.

GetEasmWorkspaces(ResourceGroupResource)

Gets a collection of EasmWorkspaceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetEasmWorkspaces() instead.

GetEasmWorkspaces(SubscriptionResource, CancellationToken)

Returns a list of workspaces under the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Easm/workspaces
  • Operation Id: Workspaces_ListBySubscription
GetEasmWorkspacesAsync(SubscriptionResource, CancellationToken)

Returns a list of workspaces under the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Easm/workspaces
  • Operation Id: Workspaces_ListBySubscription

Applies to