ResourceManagerExtensions.GetOrCreateSubscription 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 or adds a subscription to the construct.
public static Azure.Provisioning.ResourceManager.Subscription GetOrCreateSubscription (this Azure.Provisioning.IConstruct construct, Guid? subscriptionId = default);
static member GetOrCreateSubscription : Azure.Provisioning.IConstruct * Nullable<Guid> -> Azure.Provisioning.ResourceManager.Subscription
<Extension()>
Public Function GetOrCreateSubscription (construct As IConstruct, Optional subscriptionId As Nullable(Of Guid) = Nothing) As Subscription
Parameters
- construct
- IConstruct
The construct
Returns
The see Subscription.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET