ArmKeyVaultModelFactory.KeyVaultSecretData 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.
Resource information with extended details.
public static Azure.ResourceManager.KeyVault.KeyVaultSecretData KeyVaultSecretData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.KeyVault.Models.SecretProperties properties = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IReadOnlyDictionary<string,string> tags = default);
static member KeyVaultSecretData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.KeyVault.Models.SecretProperties * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.KeyVault.KeyVaultSecretData
Public Shared Function KeyVaultSecretData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As SecretProperties = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IReadOnlyDictionary(Of String, String) = Nothing) As KeyVaultSecretData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- properties
- SecretProperties
Properties of the secret.
- location
- Nullable<AzureLocation>
Azure location of the key vault resource.
- tags
- IReadOnlyDictionary<String,String>
Tags assigned to the key vault resource.
Returns
A new KeyVaultSecretData instance for mocking.