ResourcesExtensions Class
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.
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
|
BicepDecompileAsync(SubscriptionResource, DecompileOperationContent, CancellationToken) |
Decompiles an ARM json template into a Bicep template
|
CalculateDeploymentTemplateHash(TenantResource, BinaryData, CancellationToken) |
Calculate the hash of the given template.
|
CalculateDeploymentTemplateHashAsync(TenantResource, BinaryData, CancellationToken) |
Calculate the hash of the given template.
|
GetArmApplication(ResourceGroupResource, String, CancellationToken) |
Gets the managed application.
|
GetArmApplicationAsync(ResourceGroupResource, String, CancellationToken) |
Gets the managed application.
|
GetArmApplicationDefinition(ResourceGroupResource, String, CancellationToken) |
Gets the managed application definition.
|
GetArmApplicationDefinitionAsync(ResourceGroupResource, String, CancellationToken) |
Gets the managed application definition.
|
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. MockingTo mock this method, please mock GetArmApplicationDefinitionResource(ResourceIdentifier) instead. |
GetArmApplicationDefinitions(ResourceGroupResource) |
Gets a collection of ArmApplicationDefinitionResources in the ResourceGroupResource. MockingTo mock this method, please mock GetArmApplicationDefinitions() instead. |
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. MockingTo mock this method, please mock GetArmApplicationResource(ResourceIdentifier) instead. |
GetArmApplications(ResourceGroupResource) |
Gets a collection of ArmApplicationResources in the ResourceGroupResource. MockingTo mock this method, please mock GetArmApplications() instead. |
GetArmApplications(SubscriptionResource, CancellationToken) |
Gets all the applications within a subscription.
|
GetArmApplicationsAsync(SubscriptionResource, CancellationToken) |
Gets all the applications within a subscription.
|
GetArmDeployment(ManagementGroupResource, String, CancellationToken) |
Gets a deployment.
|
GetArmDeployment(ResourceGroupResource, String, CancellationToken) |
Gets a deployment.
|
GetArmDeployment(SubscriptionResource, String, CancellationToken) |
Gets a deployment.
|
GetArmDeployment(TenantResource, String, CancellationToken) |
Gets a deployment.
|
GetArmDeploymentAsync(ManagementGroupResource, String, CancellationToken) |
Gets a deployment.
|
GetArmDeploymentAsync(ResourceGroupResource, String, CancellationToken) |
Gets a deployment.
|
GetArmDeploymentAsync(SubscriptionResource, String, CancellationToken) |
Gets a deployment.
|
GetArmDeploymentAsync(TenantResource, String, CancellationToken) |
Gets a deployment.
|
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. MockingTo mock this method, please mock GetArmDeploymentResource(ResourceIdentifier) instead. |
GetArmDeployments(ManagementGroupResource) |
Gets a collection of ArmDeploymentResources in the ManagementGroupResource. MockingTo mock this method, please mock GetArmDeployments() instead. |
GetArmDeployments(ResourceGroupResource) |
Gets a collection of ArmDeploymentResources in the ResourceGroupResource. MockingTo mock this method, please mock GetArmDeployments() instead. |
GetArmDeployments(SubscriptionResource) |
Gets a collection of ArmDeploymentResources in the SubscriptionResource. MockingTo mock this method, please mock GetArmDeployments() instead. |
GetArmDeployments(TenantResource) |
Gets a collection of ArmDeploymentResources in the TenantResource. MockingTo mock this method, please mock GetArmDeployments() instead. |
GetArmDeploymentScript(ResourceGroupResource, String, CancellationToken) |
Gets a deployment script with a given name.
|
GetArmDeploymentScriptAsync(ResourceGroupResource, String, CancellationToken) |
Gets a deployment script with a given name.
|
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. MockingTo mock this method, please mock GetArmDeploymentScriptResource(ResourceIdentifier) instead. |
GetArmDeploymentScripts(ResourceGroupResource) |
Gets a collection of ArmDeploymentScriptResources in the ResourceGroupResource. MockingTo mock this method, please mock GetArmDeploymentScripts() instead. |
GetArmDeploymentScripts(SubscriptionResource, CancellationToken) |
Lists all deployment scripts for a given subscription.
|
GetArmDeploymentScriptsAsync(SubscriptionResource, CancellationToken) |
Lists all deployment scripts for a given subscription.
|
GetDataBoundaries(ArmClient, ResourceIdentifier) |
Gets a collection of DataBoundaryResources in the ArmClient. MockingTo mock this method, please mock GetDataBoundaries(ResourceIdentifier) instead. |
GetDataBoundary(ArmClient, ResourceIdentifier, DataBoundaryName, CancellationToken) |
Get data boundary at specified scope
|
GetDataBoundaryAsync(ArmClient, ResourceIdentifier, DataBoundaryName, CancellationToken) |
Get data boundary at specified scope
|
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. MockingTo mock this method, please mock GetDataBoundaryResource(ResourceIdentifier) instead. |
GetDeploymentStack(ManagementGroupResource, String, CancellationToken) |
Gets a Deployment stack with a given name at specific scope.
|
GetDeploymentStack(ResourceGroupResource, String, CancellationToken) |
Gets a Deployment stack with a given name at specific scope.
|
GetDeploymentStack(SubscriptionResource, String, CancellationToken) |
Gets a Deployment stack with a given name at specific scope.
|
GetDeploymentStackAsync(ManagementGroupResource, String, CancellationToken) |
Gets a Deployment stack with a given name at specific scope.
|
GetDeploymentStackAsync(ResourceGroupResource, String, CancellationToken) |
Gets a Deployment stack with a given name at specific scope.
|
GetDeploymentStackAsync(SubscriptionResource, String, CancellationToken) |
Gets a Deployment stack with a given name at specific scope.
|
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. MockingTo mock this method, please mock GetDeploymentStackResource(ResourceIdentifier) instead. |
GetDeploymentStacks(ManagementGroupResource) |
Gets a collection of DeploymentStackResources in the ManagementGroupResource. MockingTo mock this method, please mock GetDeploymentStacks() instead. |
GetDeploymentStacks(ResourceGroupResource) |
Gets a collection of DeploymentStackResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDeploymentStacks() instead. |
GetDeploymentStacks(SubscriptionResource) |
Gets a collection of DeploymentStackResources in the SubscriptionResource. MockingTo mock this method, please mock GetDeploymentStacks() instead. |
GetJitRequest(ResourceGroupResource, String, CancellationToken) |
Gets the JIT request.
|
GetJitRequestAsync(ResourceGroupResource, String, CancellationToken) |
Gets the JIT request.
|
GetJitRequestDefinitions(SubscriptionResource, CancellationToken) |
Retrieves all JIT requests within the subscription.
|
GetJitRequestDefinitionsAsync(SubscriptionResource, CancellationToken) |
Retrieves all JIT requests within the subscription.
|
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. MockingTo mock this method, please mock GetJitRequestResource(ResourceIdentifier) instead. |
GetJitRequests(ResourceGroupResource) |
Gets a collection of JitRequestResources in the ResourceGroupResource. MockingTo mock this method, please mock GetJitRequests() instead. |
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. MockingTo mock this method, please mock GetScriptLogResource(ResourceIdentifier) instead. |
GetTemplateSpec(ResourceGroupResource, String, Nullable<TemplateSpecExpandKind>, CancellationToken) |
Gets a Template Spec with a given name.
|
GetTemplateSpecAsync(ResourceGroupResource, String, Nullable<TemplateSpecExpandKind>, CancellationToken) |
Gets a Template Spec with a given name.
|
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. MockingTo mock this method, please mock GetTemplateSpecResource(ResourceIdentifier) instead. |
GetTemplateSpecs(ResourceGroupResource) |
Gets a collection of TemplateSpecResources in the ResourceGroupResource. MockingTo mock this method, please mock GetTemplateSpecs() instead. |
GetTemplateSpecs(SubscriptionResource, Nullable<TemplateSpecExpandKind>, CancellationToken) |
Lists all the Template Specs within the specified subscriptions.
|
GetTemplateSpecsAsync(SubscriptionResource, Nullable<TemplateSpecExpandKind>, CancellationToken) |
Lists all the Template Specs within the specified subscriptions.
|
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. MockingTo mock this method, please mock GetTemplateSpecVersionResource(ResourceIdentifier) instead. |
GetTenantDataBoundaries(TenantResource) |
Gets a collection of TenantDataBoundaryResources in the TenantResource. MockingTo mock this method, please mock GetTenantDataBoundaries() instead. |
GetTenantDataBoundary(TenantResource, DataBoundaryName, CancellationToken) |
Get data boundary of tenant.
|
GetTenantDataBoundaryAsync(TenantResource, DataBoundaryName, CancellationToken) |
Get data boundary of tenant.
|
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. MockingTo mock this method, please mock GetTenantDataBoundaryResource(ResourceIdentifier) instead. |
Applies to
Azure SDK for .NET