StaticCidrsOperationsExtensions.CreateAsync 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.
Creates/Updates the Static CIDR resource.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.StaticCidr> CreateAsync (this Microsoft.Azure.Management.Network.IStaticCidrsOperations operations, string resourceGroupName, string networkManagerName, string poolName, string staticCidrName, Microsoft.Azure.Management.Network.Models.StaticCidr body = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Network.IStaticCidrsOperations * string * string * string * string * Microsoft.Azure.Management.Network.Models.StaticCidr * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.StaticCidr>
<Extension()>
Public Function CreateAsync (operations As IStaticCidrsOperations, resourceGroupName As String, networkManagerName As String, poolName As String, staticCidrName As String, Optional body As StaticCidr = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StaticCidr)
Parameters
- operations
- IStaticCidrsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- networkManagerName
- String
The name of the network manager.
- poolName
- String
IP Address Manager Pool resource name.
- staticCidrName
- String
Static Cidr allocation name.
- body
- StaticCidr
- cancellationToken
- CancellationToken
The cancellation token.