Compartir a través de


ResourcesExtensions Class

Definition

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

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

Methods

BicepDecompile(SubscriptionResource, DecompileOperationContent, CancellationToken)

Decompiles an ARM json template into a Bicep template

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Resources/decompileBicep
  • Operation Id: Decompile_Bicep
  • Default Api Version: 2023-11-01
<item>MockingTo mock this method, please mock BicepDecompile(DecompileOperationContent, CancellationToken) instead.</item>
BicepDecompileAsync(SubscriptionResource, DecompileOperationContent, CancellationToken)

Decompiles an ARM json template into a Bicep template

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Resources/decompileBicep
  • Operation Id: Decompile_Bicep
  • Default Api Version: 2023-11-01
<item>MockingTo mock this method, please mock BicepDecompile(DecompileOperationContent, CancellationToken) instead.</item>
CalculateDeploymentTemplateHash(TenantResource, BinaryData, CancellationToken)

Calculate the hash of the given template.

  • Request Path: /providers/Microsoft.Resources/calculateTemplateHash
  • Operation Id: Deployments_CalculateTemplateHash
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock CalculateDeploymentTemplateHash(BinaryData, CancellationToken) instead.</item>
CalculateDeploymentTemplateHashAsync(TenantResource, BinaryData, CancellationToken)

Calculate the hash of the given template.

  • Request Path: /providers/Microsoft.Resources/calculateTemplateHash
  • Operation Id: Deployments_CalculateTemplateHash
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock CalculateDeploymentTemplateHash(BinaryData, CancellationToken) instead.</item>
GetArmApplication(ResourceGroupResource, String, CancellationToken)

Gets the managed application.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2019-07-01
  • Resource: ArmApplicationResource
<item>MockingTo mock this method, please mock GetArmApplication(String, CancellationToken) instead.</item>
GetArmApplicationAsync(ResourceGroupResource, String, CancellationToken)

Gets the managed application.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applications/{applicationName}
  • Operation Id: Applications_Get
  • Default Api Version: 2019-07-01
  • Resource: ArmApplicationResource
<item>MockingTo mock this method, please mock GetArmApplicationAsync(String, CancellationToken) instead.</item>
GetArmApplicationDefinition(ResourceGroupResource, String, CancellationToken)

Gets the managed application definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}
  • Operation Id: ApplicationDefinitions_Get
  • Default Api Version: 2019-07-01
  • Resource: ArmApplicationDefinitionResource
<item>MockingTo mock this method, please mock GetArmApplicationDefinition(String, CancellationToken) instead.</item>
GetArmApplicationDefinitionAsync(ResourceGroupResource, String, CancellationToken)

Gets the managed application definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/applicationDefinitions/{applicationDefinitionName}
  • Operation Id: ApplicationDefinitions_Get
  • Default Api Version: 2019-07-01
  • Resource: ArmApplicationDefinitionResource
<item>MockingTo mock this method, please mock GetArmApplicationDefinitionAsync(String, CancellationToken) instead.</item>
GetArmApplicationDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing an ArmApplicationDefinitionResource 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 ArmApplicationDefinitionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetArmApplicationDefinitionResource(ResourceIdentifier) instead.</item>

GetArmApplicationDefinitions(ResourceGroupResource)

Gets a collection of ArmApplicationDefinitionResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetArmApplicationDefinitions() instead.</item>

GetArmApplicationResource(ArmClient, ResourceIdentifier)

Gets an object representing an ArmApplicationResource 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 ArmApplicationResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetArmApplicationResource(ResourceIdentifier) instead.</item>

GetArmApplications(ResourceGroupResource)

Gets a collection of ArmApplicationResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetArmApplications() instead.</item>

GetArmApplications(SubscriptionResource, CancellationToken)

Gets all the applications within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applications
  • Operation Id: Applications_ListBySubscription
  • Default Api Version: 2019-07-01
  • Resource: ArmApplicationResource
<item>MockingTo mock this method, please mock GetArmApplications(CancellationToken) instead.</item>
GetArmApplicationsAsync(SubscriptionResource, CancellationToken)

Gets all the applications within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Solutions/applications
  • Operation Id: Applications_ListBySubscription
  • Default Api Version: 2019-07-01
  • Resource: ArmApplicationResource
<item>MockingTo mock this method, please mock GetArmApplications(CancellationToken) instead.</item>
GetArmDeployment(ManagementGroupResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock GetArmDeployment(String, CancellationToken) instead.</item>
GetArmDeployment(ResourceGroupResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock GetArmDeployment(String, CancellationToken) instead.</item>
GetArmDeployment(SubscriptionResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock GetArmDeployment(String, CancellationToken) instead.</item>
GetArmDeployment(TenantResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock GetArmDeployment(String, CancellationToken) instead.</item>
GetArmDeploymentAsync(ManagementGroupResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock GetArmDeploymentAsync(String, CancellationToken) instead.</item>
GetArmDeploymentAsync(ResourceGroupResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock GetArmDeploymentAsync(String, CancellationToken) instead.</item>
GetArmDeploymentAsync(SubscriptionResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock GetArmDeploymentAsync(String, CancellationToken) instead.</item>
GetArmDeploymentAsync(TenantResource, String, CancellationToken)

Gets a deployment.

  • Request Path: /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • Operation Id: Deployments_GetAtScope
  • Default Api Version: 2025-04-01
  • Resource: ArmDeploymentResource
<item>MockingTo mock this method, please mock GetArmDeploymentAsync(String, CancellationToken) instead.</item>
GetArmDeploymentResource(ArmClient, ResourceIdentifier)

Gets an object representing an ArmDeploymentResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create an ArmDeploymentResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetArmDeploymentResource(ResourceIdentifier) instead.</item>

GetArmDeployments(ManagementGroupResource)

Gets a collection of ArmDeploymentResources in the ManagementGroupResource. <item>MockingTo mock this method, please mock GetArmDeployments() instead.</item>

GetArmDeployments(ResourceGroupResource)

Gets a collection of ArmDeploymentResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetArmDeployments() instead.</item>

GetArmDeployments(SubscriptionResource)

Gets a collection of ArmDeploymentResources in the SubscriptionResource. <item>MockingTo mock this method, please mock GetArmDeployments() instead.</item>

GetArmDeployments(TenantResource)

Gets a collection of ArmDeploymentResources in the TenantResource. <item>MockingTo mock this method, please mock GetArmDeployments() instead.</item>

GetArmDeploymentScript(ResourceGroupResource, String, CancellationToken)

Gets a deployment script with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2023-08-01
  • Resource: ArmDeploymentScriptResource
<item>MockingTo mock this method, please mock GetArmDeploymentScript(String, CancellationToken) instead.</item>
GetArmDeploymentScriptAsync(ResourceGroupResource, String, CancellationToken)

Gets a deployment script with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}
  • Operation Id: DeploymentScripts_Get
  • Default Api Version: 2023-08-01
  • Resource: ArmDeploymentScriptResource
<item>MockingTo mock this method, please mock GetArmDeploymentScriptAsync(String, CancellationToken) instead.</item>
GetArmDeploymentScriptResource(ArmClient, ResourceIdentifier)

Gets an object representing an ArmDeploymentScriptResource 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 ArmDeploymentScriptResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetArmDeploymentScriptResource(ResourceIdentifier) instead.</item>

GetArmDeploymentScripts(ResourceGroupResource)

Gets a collection of ArmDeploymentScriptResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetArmDeploymentScripts() instead.</item>

GetArmDeploymentScripts(SubscriptionResource, CancellationToken)

Lists all deployment scripts for a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts
  • Operation Id: DeploymentScripts_ListBySubscription
  • Default Api Version: 2023-08-01
  • Resource: ArmDeploymentScriptResource
<item>MockingTo mock this method, please mock GetArmDeploymentScripts(CancellationToken) instead.</item>
GetArmDeploymentScriptsAsync(SubscriptionResource, CancellationToken)

Lists all deployment scripts for a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts
  • Operation Id: DeploymentScripts_ListBySubscription
  • Default Api Version: 2023-08-01
  • Resource: ArmDeploymentScriptResource
<item>MockingTo mock this method, please mock GetArmDeploymentScripts(CancellationToken) instead.</item>
GetDataBoundaries(ArmClient, ResourceIdentifier)

Gets a collection of DataBoundaryResources in the ArmClient. <item>MockingTo mock this method, please mock GetDataBoundaries(ResourceIdentifier) instead.</item>

GetDataBoundary(ArmClient, ResourceIdentifier, DataBoundaryName, CancellationToken)

Get data boundary at specified scope

  • Request Path: /{scope}/providers/Microsoft.Resources/dataBoundaries/{default}
  • Operation Id: DataBoundaries_GetScope
  • Default Api Version: 2024-08-01
  • Resource: DataBoundaryResource
<item>MockingTo mock this method, please mock GetDataBoundary(ResourceIdentifier, DataBoundaryName, CancellationToken) instead.</item>
GetDataBoundaryAsync(ArmClient, ResourceIdentifier, DataBoundaryName, CancellationToken)

Get data boundary at specified scope

  • Request Path: /{scope}/providers/Microsoft.Resources/dataBoundaries/{default}
  • Operation Id: DataBoundaries_GetScope
  • Default Api Version: 2024-08-01
  • Resource: DataBoundaryResource
<item>MockingTo mock this method, please mock GetDataBoundaryAsync(ResourceIdentifier, DataBoundaryName, CancellationToken) instead.</item>
GetDataBoundaryResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataBoundaryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, DataBoundaryName) to create a DataBoundaryResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDataBoundaryResource(ResourceIdentifier) instead.</item>

GetDeploymentStack(ManagementGroupResource, String, CancellationToken)

Gets a Deployment stack with a given name at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
<item>MockingTo mock this method, please mock GetDeploymentStack(String, CancellationToken) instead.</item>
GetDeploymentStack(ResourceGroupResource, String, CancellationToken)

Gets a Deployment stack with a given name at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
<item>MockingTo mock this method, please mock GetDeploymentStack(String, CancellationToken) instead.</item>
GetDeploymentStack(SubscriptionResource, String, CancellationToken)

Gets a Deployment stack with a given name at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
<item>MockingTo mock this method, please mock GetDeploymentStack(String, CancellationToken) instead.</item>
GetDeploymentStackAsync(ManagementGroupResource, String, CancellationToken)

Gets a Deployment stack with a given name at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
<item>MockingTo mock this method, please mock GetDeploymentStackAsync(String, CancellationToken) instead.</item>
GetDeploymentStackAsync(ResourceGroupResource, String, CancellationToken)

Gets a Deployment stack with a given name at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
<item>MockingTo mock this method, please mock GetDeploymentStackAsync(String, CancellationToken) instead.</item>
GetDeploymentStackAsync(SubscriptionResource, String, CancellationToken)

Gets a Deployment stack with a given name at specific scope.

  • Request Path: /{scope}/providers/Microsoft.Resources/deploymentStacks/{deploymentStackName}
  • Operation Id: DeploymentStacks_GetAtScope
  • Default Api Version: 2024-03-01
  • Resource: DeploymentStackResource
<item>MockingTo mock this method, please mock GetDeploymentStackAsync(String, CancellationToken) instead.</item>
GetDeploymentStackResource(ArmClient, ResourceIdentifier)

Gets an object representing a DeploymentStackResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String) to create a DeploymentStackResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDeploymentStackResource(ResourceIdentifier) instead.</item>

GetDeploymentStacks(ManagementGroupResource)

Gets a collection of DeploymentStackResources in the ManagementGroupResource. <item>MockingTo mock this method, please mock GetDeploymentStacks() instead.</item>

GetDeploymentStacks(ResourceGroupResource)

Gets a collection of DeploymentStackResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetDeploymentStacks() instead.</item>

GetDeploymentStacks(SubscriptionResource)

Gets a collection of DeploymentStackResources in the SubscriptionResource. <item>MockingTo mock this method, please mock GetDeploymentStacks() instead.</item>

GetJitRequest(ResourceGroupResource, String, CancellationToken)

Gets the JIT request.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
<item>MockingTo mock this method, please mock GetJitRequest(String, CancellationToken) instead.</item>
GetJitRequestAsync(ResourceGroupResource, String, CancellationToken)

Gets the JIT request.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Solutions/jitRequests/{jitRequestName}
  • Operation Id: JitRequests_Get
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
<item>MockingTo mock this method, please mock GetJitRequestAsync(String, CancellationToken) instead.</item>
GetJitRequestDefinitions(SubscriptionResource, CancellationToken)

Retrieves all JIT requests within the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Solutions/jitRequests
  • Operation Id: jitRequests_ListBySubscription
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
<item>MockingTo mock this method, please mock GetJitRequestDefinitions(CancellationToken) instead.</item>
GetJitRequestDefinitionsAsync(SubscriptionResource, CancellationToken)

Retrieves all JIT requests within the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Solutions/jitRequests
  • Operation Id: jitRequests_ListBySubscription
  • Default Api Version: 2019-07-01
  • Resource: JitRequestResource
<item>MockingTo mock this method, please mock GetJitRequestDefinitions(CancellationToken) instead.</item>
GetJitRequestResource(ArmClient, ResourceIdentifier)

Gets an object representing a JitRequestResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a JitRequestResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetJitRequestResource(ResourceIdentifier) instead.</item>

GetJitRequests(ResourceGroupResource)

Gets a collection of JitRequestResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetJitRequests() instead.</item>

GetScriptLogResource(ArmClient, ResourceIdentifier)

Gets an object representing a ScriptLogResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a ScriptLogResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetScriptLogResource(ResourceIdentifier) instead.</item>

GetTemplateSpec(ResourceGroupResource, String, Nullable<TemplateSpecExpandKind>, CancellationToken)

Gets a Template Spec with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}
  • Operation Id: TemplateSpecs_Get
  • Default Api Version: 2021-05-01
  • Resource: TemplateSpecResource
<item>MockingTo mock this method, please mock GetTemplateSpec(String, Nullable<TemplateSpecExpandKind>, CancellationToken) instead.</item>
GetTemplateSpecAsync(ResourceGroupResource, String, Nullable<TemplateSpecExpandKind>, CancellationToken)

Gets a Template Spec with a given name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}
  • Operation Id: TemplateSpecs_Get
  • Default Api Version: 2021-05-01
  • Resource: TemplateSpecResource
<item>MockingTo mock this method, please mock GetTemplateSpecAsync(String, Nullable<TemplateSpecExpandKind>, CancellationToken) instead.</item>
GetTemplateSpecResource(ArmClient, ResourceIdentifier)

Gets an object representing a TemplateSpecResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a TemplateSpecResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetTemplateSpecResource(ResourceIdentifier) instead.</item>

GetTemplateSpecs(ResourceGroupResource)

Gets a collection of TemplateSpecResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetTemplateSpecs() instead.</item>

GetTemplateSpecs(SubscriptionResource, Nullable<TemplateSpecExpandKind>, CancellationToken)

Lists all the Template Specs within the specified subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs
  • Operation Id: TemplateSpecs_ListBySubscription
  • Default Api Version: 2021-05-01
  • Resource: TemplateSpecResource
<item>MockingTo mock this method, please mock GetTemplateSpecs(Nullable<TemplateSpecExpandKind>, CancellationToken) instead.</item>
GetTemplateSpecsAsync(SubscriptionResource, Nullable<TemplateSpecExpandKind>, CancellationToken)

Lists all the Template Specs within the specified subscriptions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs
  • Operation Id: TemplateSpecs_ListBySubscription
  • Default Api Version: 2021-05-01
  • Resource: TemplateSpecResource
<item>MockingTo mock this method, please mock GetTemplateSpecs(Nullable<TemplateSpecExpandKind>, CancellationToken) instead.</item>
GetTemplateSpecVersionResource(ArmClient, ResourceIdentifier)

Gets an object representing a TemplateSpecVersionResource 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 a TemplateSpecVersionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetTemplateSpecVersionResource(ResourceIdentifier) instead.</item>

GetTenantDataBoundaries(TenantResource)

Gets a collection of TenantDataBoundaryResources in the TenantResource. <item>MockingTo mock this method, please mock GetTenantDataBoundaries() instead.</item>

GetTenantDataBoundary(TenantResource, DataBoundaryName, CancellationToken)

Get data boundary of tenant.

  • Request Path: /providers/Microsoft.Resources/dataBoundaries/{default}
  • Operation Id: DataBoundaries_GetTenant
  • Default Api Version: 2024-08-01
  • Resource: TenantDataBoundaryResource
<item>MockingTo mock this method, please mock GetTenantDataBoundary(DataBoundaryName, CancellationToken) instead.</item>
GetTenantDataBoundaryAsync(TenantResource, DataBoundaryName, CancellationToken)

Get data boundary of tenant.

  • Request Path: /providers/Microsoft.Resources/dataBoundaries/{default}
  • Operation Id: DataBoundaries_GetTenant
  • Default Api Version: 2024-08-01
  • Resource: TenantDataBoundaryResource
<item>MockingTo mock this method, please mock GetTenantDataBoundaryAsync(DataBoundaryName, CancellationToken) instead.</item>
GetTenantDataBoundaryResource(ArmClient, ResourceIdentifier)

Gets an object representing a TenantDataBoundaryResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(DataBoundaryName) to create a TenantDataBoundaryResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetTenantDataBoundaryResource(ResourceIdentifier) instead.</item>

Applies to