Udostępnij za pośrednictwem


IWithPremiumSkuCreateBeta.WithSubnet Method

Definition

Overloads

WithSubnet(String)

Assigns the specified subnet to this instance of Redis Cache.

WithSubnet(IHasId, String)

Assigns the specified subnet to this instance of Redis Cache.

WithSubnet(String)

Assigns the specified subnet to this instance of Redis Cache.

public Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate WithSubnet (string subnetId);
abstract member WithSubnet : string -> Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate
Public Function WithSubnet (subnetId As String) As IWithCreate

Parameters

subnetId
String

Resource id of subnet.

Returns

Applies to

WithSubnet(IHasId, String)

Assigns the specified subnet to this instance of Redis Cache.

public Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate WithSubnet (Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId network, string subnetName);
abstract member WithSubnet : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId * string -> Microsoft.Azure.Management.Redis.Fluent.RedisCache.Definition.IWithCreate
Public Function WithSubnet (network As IHasId, subnetName As String) As IWithCreate

Parameters

network
IHasId

Instance of Network object.

subnetName
String

The name of the subnet.

Returns

Applies to