1. Packages
  2. Azure Native
  3. API Docs
  4. managednetwork
  5. getManagedNetworkPeeringPolicy
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.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.managednetwork.getManagedNetworkPeeringPolicy

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.33.0 published on Friday, Mar 22, 2024 by Pulumi

    The Get ManagedNetworkPeeringPolicies operation gets a Managed Network Peering Policy resource, specified by the resource group, Managed Network name, and peering policy name Azure REST API version: 2019-06-01-preview.

    Using getManagedNetworkPeeringPolicy

    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 getManagedNetworkPeeringPolicy(args: GetManagedNetworkPeeringPolicyArgs, opts?: InvokeOptions): Promise<GetManagedNetworkPeeringPolicyResult>
    function getManagedNetworkPeeringPolicyOutput(args: GetManagedNetworkPeeringPolicyOutputArgs, opts?: InvokeOptions): Output<GetManagedNetworkPeeringPolicyResult>
    def get_managed_network_peering_policy(managed_network_name: Optional[str] = None,
                                           managed_network_peering_policy_name: Optional[str] = None,
                                           resource_group_name: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetManagedNetworkPeeringPolicyResult
    def get_managed_network_peering_policy_output(managed_network_name: Optional[pulumi.Input[str]] = None,
                                           managed_network_peering_policy_name: Optional[pulumi.Input[str]] = None,
                                           resource_group_name: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetManagedNetworkPeeringPolicyResult]
    func LookupManagedNetworkPeeringPolicy(ctx *Context, args *LookupManagedNetworkPeeringPolicyArgs, opts ...InvokeOption) (*LookupManagedNetworkPeeringPolicyResult, error)
    func LookupManagedNetworkPeeringPolicyOutput(ctx *Context, args *LookupManagedNetworkPeeringPolicyOutputArgs, opts ...InvokeOption) LookupManagedNetworkPeeringPolicyResultOutput

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

    public static class GetManagedNetworkPeeringPolicy 
    {
        public static Task<GetManagedNetworkPeeringPolicyResult> InvokeAsync(GetManagedNetworkPeeringPolicyArgs args, InvokeOptions? opts = null)
        public static Output<GetManagedNetworkPeeringPolicyResult> Invoke(GetManagedNetworkPeeringPolicyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagedNetworkPeeringPolicyResult> getManagedNetworkPeeringPolicy(GetManagedNetworkPeeringPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:managednetwork:getManagedNetworkPeeringPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ManagedNetworkName string
    The name of the Managed Network.
    ManagedNetworkPeeringPolicyName string
    The name of the Managed Network Peering Policy.
    ResourceGroupName string
    The name of the resource group.
    ManagedNetworkName string
    The name of the Managed Network.
    ManagedNetworkPeeringPolicyName string
    The name of the Managed Network Peering Policy.
    ResourceGroupName string
    The name of the resource group.
    managedNetworkName String
    The name of the Managed Network.
    managedNetworkPeeringPolicyName String
    The name of the Managed Network Peering Policy.
    resourceGroupName String
    The name of the resource group.
    managedNetworkName string
    The name of the Managed Network.
    managedNetworkPeeringPolicyName string
    The name of the Managed Network Peering Policy.
    resourceGroupName string
    The name of the resource group.
    managed_network_name str
    The name of the Managed Network.
    managed_network_peering_policy_name str
    The name of the Managed Network Peering Policy.
    resource_group_name str
    The name of the resource group.
    managedNetworkName String
    The name of the Managed Network.
    managedNetworkPeeringPolicyName String
    The name of the Managed Network Peering Policy.
    resourceGroupName String
    The name of the resource group.

    getManagedNetworkPeeringPolicy Result

    The following output properties are available:

    Id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    Properties Pulumi.AzureNative.ManagedNetwork.Outputs.ManagedNetworkPeeringPolicyPropertiesResponse
    Gets or sets the properties of a Managed Network Policy
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Location string
    The geo-location where the resource lives
    Id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    Name string
    The name of the resource
    Properties ManagedNetworkPeeringPolicyPropertiesResponse
    Gets or sets the properties of a Managed Network Policy
    Type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Location string
    The geo-location where the resource lives
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    properties ManagedNetworkPeeringPolicyPropertiesResponse
    Gets or sets the properties of a Managed Network Policy
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    location String
    The geo-location where the resource lives
    id string
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name string
    The name of the resource
    properties ManagedNetworkPeeringPolicyPropertiesResponse
    Gets or sets the properties of a Managed Network Policy
    type string
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    location string
    The geo-location where the resource lives
    id str
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name str
    The name of the resource
    properties ManagedNetworkPeeringPolicyPropertiesResponse
    Gets or sets the properties of a Managed Network Policy
    type str
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    location str
    The geo-location where the resource lives
    id String
    Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    name String
    The name of the resource
    properties Property Map
    Gets or sets the properties of a Managed Network Policy
    type String
    The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    location String
    The geo-location where the resource lives

    Supporting Types

    ManagedNetworkPeeringPolicyPropertiesResponse

    Etag string
    A unique read-only string that changes whenever the resource is updated.
    ProvisioningState string
    Provisioning state of the ManagedNetwork resource.
    Type string
    Gets or sets the connectivity type of a network structure policy
    Hub Pulumi.AzureNative.ManagedNetwork.Inputs.ResourceIdResponse
    Gets or sets the hub virtual network ID
    Mesh List<Pulumi.AzureNative.ManagedNetwork.Inputs.ResourceIdResponse>
    Gets or sets the mesh group IDs
    Spokes List<Pulumi.AzureNative.ManagedNetwork.Inputs.ResourceIdResponse>
    Gets or sets the spokes group IDs
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    ProvisioningState string
    Provisioning state of the ManagedNetwork resource.
    Type string
    Gets or sets the connectivity type of a network structure policy
    Hub ResourceIdResponse
    Gets or sets the hub virtual network ID
    Mesh []ResourceIdResponse
    Gets or sets the mesh group IDs
    Spokes []ResourceIdResponse
    Gets or sets the spokes group IDs
    etag String
    A unique read-only string that changes whenever the resource is updated.
    provisioningState String
    Provisioning state of the ManagedNetwork resource.
    type String
    Gets or sets the connectivity type of a network structure policy
    hub ResourceIdResponse
    Gets or sets the hub virtual network ID
    mesh List<ResourceIdResponse>
    Gets or sets the mesh group IDs
    spokes List<ResourceIdResponse>
    Gets or sets the spokes group IDs
    etag string
    A unique read-only string that changes whenever the resource is updated.
    provisioningState string
    Provisioning state of the ManagedNetwork resource.
    type string
    Gets or sets the connectivity type of a network structure policy
    hub ResourceIdResponse
    Gets or sets the hub virtual network ID
    mesh ResourceIdResponse[]
    Gets or sets the mesh group IDs
    spokes ResourceIdResponse[]
    Gets or sets the spokes group IDs
    etag str
    A unique read-only string that changes whenever the resource is updated.
    provisioning_state str
    Provisioning state of the ManagedNetwork resource.
    type str
    Gets or sets the connectivity type of a network structure policy
    hub ResourceIdResponse
    Gets or sets the hub virtual network ID
    mesh Sequence[ResourceIdResponse]
    Gets or sets the mesh group IDs
    spokes Sequence[ResourceIdResponse]
    Gets or sets the spokes group IDs
    etag String
    A unique read-only string that changes whenever the resource is updated.
    provisioningState String
    Provisioning state of the ManagedNetwork resource.
    type String
    Gets or sets the connectivity type of a network structure policy
    hub Property Map
    Gets or sets the hub virtual network ID
    mesh List<Property Map>
    Gets or sets the mesh group IDs
    spokes List<Property Map>
    Gets or sets the spokes group IDs

    ResourceIdResponse

    Id string
    Resource Id
    Id string
    Resource Id
    id String
    Resource Id
    id string
    Resource Id
    id str
    Resource Id
    id String
    Resource Id

    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.33.0 published on Friday, Mar 22, 2024 by Pulumi