1. Packages
  2. Azure Native
  3. API Docs
  4. avs
  5. getWorkloadNetworkPublicIP
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.avs.getWorkloadNetworkPublicIP

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    NSX Public IP Block Azure REST API version: 2022-05-01.

    Other available API versions: 2023-03-01, 2023-09-01.

    Using getWorkloadNetworkPublicIP

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getWorkloadNetworkPublicIP(args: GetWorkloadNetworkPublicIPArgs, opts?: InvokeOptions): Promise<GetWorkloadNetworkPublicIPResult>
    function getWorkloadNetworkPublicIPOutput(args: GetWorkloadNetworkPublicIPOutputArgs, opts?: InvokeOptions): Output<GetWorkloadNetworkPublicIPResult>
    def get_workload_network_public_ip(private_cloud_name: Optional[str] = None,
                                       public_ip_id: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetWorkloadNetworkPublicIPResult
    def get_workload_network_public_ip_output(private_cloud_name: Optional[pulumi.Input[str]] = None,
                                       public_ip_id: Optional[pulumi.Input[str]] = None,
                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetWorkloadNetworkPublicIPResult]
    func LookupWorkloadNetworkPublicIP(ctx *Context, args *LookupWorkloadNetworkPublicIPArgs, opts ...InvokeOption) (*LookupWorkloadNetworkPublicIPResult, error)
    func LookupWorkloadNetworkPublicIPOutput(ctx *Context, args *LookupWorkloadNetworkPublicIPOutputArgs, opts ...InvokeOption) LookupWorkloadNetworkPublicIPResultOutput

    > Note: This function is named LookupWorkloadNetworkPublicIP in the Go SDK.

    public static class GetWorkloadNetworkPublicIP 
    {
        public static Task<GetWorkloadNetworkPublicIPResult> InvokeAsync(GetWorkloadNetworkPublicIPArgs args, InvokeOptions? opts = null)
        public static Output<GetWorkloadNetworkPublicIPResult> Invoke(GetWorkloadNetworkPublicIPInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetWorkloadNetworkPublicIPResult> getWorkloadNetworkPublicIP(GetWorkloadNetworkPublicIPArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:avs:getWorkloadNetworkPublicIP
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PrivateCloudName string
    Name of the private cloud
    PublicIPId string
    NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    PrivateCloudName string
    Name of the private cloud
    PublicIPId string
    NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    privateCloudName String
    Name of the private cloud
    publicIPId String
    NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    privateCloudName string
    Name of the private cloud
    publicIPId string
    NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    private_cloud_name str
    Name of the private cloud
    public_ip_id str
    NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    privateCloudName String
    Name of the private cloud
    publicIPId String
    NSX Public IP Block identifier. Generally the same as the Public IP Block's display name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    getWorkloadNetworkPublicIP Result

    The following output properties are available:

    Id string
    Resource ID.
    Name string
    Resource name.
    ProvisioningState string
    The provisioning state
    PublicIPBlock string
    CIDR Block of the Public IP Block.
    Type string
    Resource type.
    DisplayName string
    Display name of the Public IP Block.
    NumberOfPublicIPs double
    Number of Public IPs requested.
    Id string
    Resource ID.
    Name string
    Resource name.
    ProvisioningState string
    The provisioning state
    PublicIPBlock string
    CIDR Block of the Public IP Block.
    Type string
    Resource type.
    DisplayName string
    Display name of the Public IP Block.
    NumberOfPublicIPs float64
    Number of Public IPs requested.
    id String
    Resource ID.
    name String
    Resource name.
    provisioningState String
    The provisioning state
    publicIPBlock String
    CIDR Block of the Public IP Block.
    type String
    Resource type.
    displayName String
    Display name of the Public IP Block.
    numberOfPublicIPs Double
    Number of Public IPs requested.
    id string
    Resource ID.
    name string
    Resource name.
    provisioningState string
    The provisioning state
    publicIPBlock string
    CIDR Block of the Public IP Block.
    type string
    Resource type.
    displayName string
    Display name of the Public IP Block.
    numberOfPublicIPs number
    Number of Public IPs requested.
    id str
    Resource ID.
    name str
    Resource name.
    provisioning_state str
    The provisioning state
    public_ip_block str
    CIDR Block of the Public IP Block.
    type str
    Resource type.
    display_name str
    Display name of the Public IP Block.
    number_of_public_ips float
    Number of Public IPs requested.
    id String
    Resource ID.
    name String
    Resource name.
    provisioningState String
    The provisioning state
    publicIPBlock String
    CIDR Block of the Public IP Block.
    type String
    Resource type.
    displayName String
    Display name of the Public IP Block.
    numberOfPublicIPs Number
    Number of Public IPs requested.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi