다음을 통해 공유


ArmApiManagementModelFactory.ApiManagementNamedValueData Method

Definition

Initializes a new instance of ApiManagementNamedValueData.

public static Azure.ResourceManager.ApiManagement.ApiManagementNamedValueData ApiManagementNamedValueData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<string> tags = default, bool? isSecret = default, string displayName = default, string value = default, Azure.ResourceManager.ApiManagement.Models.KeyVaultContractProperties keyVaultDetails = default);
static member ApiManagementNamedValueData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<string> * Nullable<bool> * string * string * Azure.ResourceManager.ApiManagement.Models.KeyVaultContractProperties -> Azure.ResourceManager.ApiManagement.ApiManagementNamedValueData
Public Shared Function ApiManagementNamedValueData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IEnumerable(Of String) = Nothing, Optional isSecret As Nullable(Of Boolean) = Nothing, Optional displayName As String = Nothing, Optional value As String = Nothing, Optional keyVaultDetails As KeyVaultContractProperties = Nothing) As ApiManagementNamedValueData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IEnumerable<String>

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

isSecret
Nullable<Boolean>

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

displayName
String

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

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.

keyVaultDetails
KeyVaultContractProperties

KeyVault location details of the namedValue.

Returns

A new ApiManagementNamedValueData instance for mocking.

Applies to