StorageAccount.GetAzureName(IConstruct, String) 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.
Validate and sanitize the resource name.
protected override string GetAzureName (Azure.Provisioning.IConstruct scope, string resourceName);
override this.GetAzureName : Azure.Provisioning.IConstruct * string -> string
Protected Overrides Function GetAzureName (scope As IConstruct, resourceName As String) As String
Parameters
- scope
- IConstruct
The scope.
- resourceName
- String
The resource name.
Returns
Sanitized resource name.
Exceptions
If the resource name violates rules that cannot be sanitized.
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