IConstruct Interface
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.
Interface for a construct.
public interface IConstruct
type IConstruct = interface
Public Interface IConstruct
- Derived
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. |
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
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ