Udostępnij za pośrednictwem


NamedValueContract Constructors

Definition

Overloads

NamedValueContract()

Initializes a new instance of the NamedValueContract class.

NamedValueContract(String, String, String, String, IList<String>, Nullable<Boolean>, String, KeyVaultContractProperties)

Initializes a new instance of the NamedValueContract class.

NamedValueContract()

Initializes a new instance of the NamedValueContract class.

public NamedValueContract ();
Public Sub New ()

Applies to

NamedValueContract(String, String, String, String, IList<String>, Nullable<Boolean>, String, KeyVaultContractProperties)

Initializes a new instance of the NamedValueContract class.

public NamedValueContract (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.KeyVaultContractProperties keyVault = default);
new Microsoft.Azure.Management.ApiManagement.Models.NamedValueContract : string * string * string * string * System.Collections.Generic.IList<string> * Nullable<bool> * string * Microsoft.Azure.Management.ApiManagement.Models.KeyVaultContractProperties -> Microsoft.Azure.Management.ApiManagement.Models.NamedValueContract
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 KeyVaultContractProperties = 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
KeyVaultContractProperties

KeyVault location details of the namedValue.

Applies to