Udostępnij za pośrednictwem


NamedValueCreateContract Constructors

Definition

Overloads

NamedValueCreateContract()

Initializes a new instance of the NamedValueCreateContract class.

NamedValueCreateContract(String, String, String, String, IList<String>, Nullable<Boolean>, String, KeyVaultContractCreateProperties)

Initializes a new instance of the NamedValueCreateContract class.

NamedValueCreateContract()

Initializes a new instance of the NamedValueCreateContract class.

public NamedValueCreateContract ();
Public Sub New ()

Applies to

NamedValueCreateContract(String, String, String, String, IList<String>, Nullable<Boolean>, String, KeyVaultContractCreateProperties)

Initializes a new instance of the NamedValueCreateContract class.

public NamedValueCreateContract (string displayName, string id = default, string name = default, string type = default, System.Collections.Generic.IList<string> tags = default, bool? secret = default, string value = default, Microsoft.Azure.Management.ApiManagement.Models.KeyVaultContractCreateProperties keyVault = default);
new Microsoft.Azure.Management.ApiManagement.Models.NamedValueCreateContract : string * string * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * string * Microsoft.Azure.Management.ApiManagement.Models.KeyVaultContractCreateProperties -> Microsoft.Azure.Management.ApiManagement.Models.NamedValueCreateContract
Public Sub New (displayName As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IList(Of String) = Nothing, Optional secret As Nullable(Of Boolean) = Nothing, Optional value As String = Nothing, Optional keyVault As KeyVaultContractCreateProperties = Nothing)

Parameters

displayName
String

Unique name of NamedValue. It may contain only letters, digits, period, dash, and underscore characters.

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

tags
IList<String>

Optional tags that when provided can be used to filter the NamedValue list.

secret
Nullable<Boolean>

Determines whether the value is a secret and should be encrypted or not. Default value is false.

value
String

Value of the NamedValue. Can contain policy expressions. It may not be empty or consist only of whitespace. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

keyVault
KeyVaultContractCreateProperties

KeyVault location details of the namedValue.

Applies to