IWithPremiumSkuCreateBeta.WithSubnet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.