다음을 통해 공유


ArmApiManagementModelFactory.ApiManagementNamedValueCreateOrUpdateContent Method

Definition

Initializes a new instance of ApiManagementNamedValueCreateOrUpdateContent.

public static Azure.ResourceManager.ApiManagement.Models.ApiManagementNamedValueCreateOrUpdateContent ApiManagementNamedValueCreateOrUpdateContent (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.KeyVaultContractCreateProperties keyVault = default);
static member ApiManagementNamedValueCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<string> * Nullable<bool> * string * string * Azure.ResourceManager.ApiManagement.Models.KeyVaultContractCreateProperties -> Azure.ResourceManager.ApiManagement.Models.ApiManagementNamedValueCreateOrUpdateContent
Public Shared Function ApiManagementNamedValueCreateOrUpdateContent (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 keyVault As KeyVaultContractCreateProperties = Nothing) As ApiManagementNamedValueCreateOrUpdateContent

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.

keyVault
KeyVaultContractCreateProperties

KeyVault location details of the namedValue.

Returns

A new ApiManagementNamedValueCreateOrUpdateContent instance for mocking.

Applies to