Class GetPrecreatedIpBlock
Inheritance
System.Object
GetPrecreatedIpBlock
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Packet
Assembly: Pulumi.Packet.dll
Syntax
public static class GetPrecreatedIpBlock
Methods
View SourceInvokeAsync(GetPrecreatedIpBlockArgs, InvokeOptions)
Use this data source to get CIDR expression for precreated IPv6 and IPv4 blocks in Packet. You can then use the cidrsubnet TF builtin function to derive subnets.
{{% examples %}} {{% /examples %}}
Declaration
public static Task<GetPrecreatedIpBlockResult> InvokeAsync(GetPrecreatedIpBlockArgs args, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPrecreatedIpBlockArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetPrecreatedIpBlockResult> |