ResourcesExtensions.GetArmDeploymentScripts 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.
Overloads
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.
|
GetArmDeploymentScripts(ResourceGroupResource)
- Source:
- ResourcesExtensions.cs
- Source:
- ResourcesExtensions.cs
Gets a collection of ArmDeploymentScriptResources in the ResourceGroupResource. MockingTo mock this method, please mock GetArmDeploymentScripts() instead.
public static Azure.ResourceManager.Resources.ArmDeploymentScriptCollection GetArmDeploymentScripts (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetArmDeploymentScripts : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Resources.ArmDeploymentScriptCollection
<Extension()>
Public Function GetArmDeploymentScripts (resourceGroupResource As ResourceGroupResource) As ArmDeploymentScriptCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of ArmDeploymentScriptResources and their operations over a ArmDeploymentScriptResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetArmDeploymentScripts(SubscriptionResource, CancellationToken)
- Source:
- ResourcesExtensions.cs
- Source:
- ResourcesExtensions.cs
Lists all deployment scripts for a given subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts
- Operation Id: DeploymentScripts_ListBySubscription
- Default Api Version: 2020-10-01
- Resource: ArmDeploymentScriptResource
public static Azure.Pageable<Azure.ResourceManager.Resources.ArmDeploymentScriptResource> GetArmDeploymentScripts (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetArmDeploymentScripts : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Resources.ArmDeploymentScriptResource>
<Extension()>
Public Function GetArmDeploymentScripts (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ArmDeploymentScriptResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of ArmDeploymentScriptResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.