Construct 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.
Basic building block of a set of resources in Azure.
public abstract class Construct : Azure.Provisioning.IConstruct
type Construct = class
interface IConstruct
Public MustInherit Class Construct
Implements IConstruct
- Inheritance
-
Construct
- Derived
- Implements
Constructors
Construct(IConstruct, String, ConstructScope, Nullable<Guid>, Nullable<Guid>, String, ResourceGroup) |
Initializes a new instance of the Construct class. |
Properties
Configuration |
Gets the configuration for the construct. |
ConstructScope |
Gets the ConstructScope scope. |
EnvironmentName |
Gets the environment name of the construct. |
Name |
Gets the name of the construct. |
ResourceGroup |
Gets the ResourceGroup for the construct. |
Root |
Gets the Tenant for the construct."/>. |
Scope |
Gets the parent of the construct. |
Subscription |
Gets the Subscription for the construct. |
Methods
AddConstruct(IConstruct) |
Adds a child construct to the construct. |
AddOutput(Output) |
Adds an output to the construct. |
AddParameter(Parameter) |
Adds a parameter to the construct. |
AddResource(Resource) |
Adds a resource to the construct. |
GetConstructs(Boolean) |
Gets all child constructs in the construct. |
GetOutputs(Boolean) |
Gets all outputs in the construct. |
GetParameters(Boolean) |
Gets all parameters in the construct. |
GetResources(Boolean) |
Gets all resources in the construct. |
UseExistingResource<T>(T, Func<T>) |
Registers an existing resource with this construct that will be used by other resources in the construct. |
Extension Methods
AddAppConfigurationStore(IConstruct, String) |
Adds a AppConfigurationStore to the construct. |
AddKeyVault(IConstruct, ResourceGroup, String) |
Adds a KeyVault to the construct. |
GetSecrets(IConstruct) |
Gets all of the KeyVaultSecret in the construct. |
GetSingleResource<T>(IConstruct) |
Gets the single resource of type |
GetSingleResourceInScope<T>(IConstruct) |
Gets the single resource of type |
AddResourceGroup(IConstruct) |
Adds a resource group to the construct. |
GetOrAddResourceGroup(IConstruct) |
Gets or adds the resource group of the construct. |
GetOrCreateSubscription(IConstruct, Nullable<Guid>) |
Gets or adds a subscription to the construct. |
AddBlobService(IConstruct) |
Adds a BlobService to the construct. |
AddStorageAccount(IConstruct, StorageKind, StorageSkuName, ResourceGroup, String) |
Adds a StorageAccount to the construct. |
Applies to
Azure SDK for .NET