1. Packages
  2. Azure Native v2
  3. API Docs
  4. managednetwork
  5. getManagedNetworkPeeringPolicy
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.managednetwork.getManagedNetworkPeeringPolicy

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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>
Copy
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]
Copy
func LookupManagedNetworkPeeringPolicy(ctx *Context, args *LookupManagedNetworkPeeringPolicyArgs, opts ...InvokeOption) (*LookupManagedNetworkPeeringPolicyResult, error)
func LookupManagedNetworkPeeringPolicyOutput(ctx *Context, args *LookupManagedNetworkPeeringPolicyOutputArgs, opts ...InvokeOption) LookupManagedNetworkPeeringPolicyResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetManagedNetworkPeeringPolicyResult> getManagedNetworkPeeringPolicy(GetManagedNetworkPeeringPolicyArgs args, InvokeOptions options)
public static Output<GetManagedNetworkPeeringPolicyResult> getManagedNetworkPeeringPolicy(GetManagedNetworkPeeringPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:managednetwork:getManagedNetworkPeeringPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ManagedNetworkName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Managed Network.
ManagedNetworkPeeringPolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Managed Network Peering Policy.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
ManagedNetworkName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Managed Network.
ManagedNetworkPeeringPolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Managed Network Peering Policy.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
managedNetworkName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Managed Network.
managedNetworkPeeringPolicyName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Managed Network Peering Policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
managedNetworkName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Managed Network.
managedNetworkPeeringPolicyName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Managed Network Peering Policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
managed_network_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Managed Network.
managed_network_peering_policy_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Managed Network Peering Policy.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
managedNetworkName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Managed Network.
managedNetworkPeeringPolicyName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Managed Network Peering Policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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 This property is required. string
A unique read-only string that changes whenever the resource is updated.
ProvisioningState This property is required. string
Provisioning state of the ManagedNetwork resource.
Type This property is required. 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 This property is required. string
A unique read-only string that changes whenever the resource is updated.
ProvisioningState This property is required. string
Provisioning state of the ManagedNetwork resource.
Type This property is required. 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 This property is required. String
A unique read-only string that changes whenever the resource is updated.
provisioningState This property is required. String
Provisioning state of the ManagedNetwork resource.
type This property is required. 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 This property is required. string
A unique read-only string that changes whenever the resource is updated.
provisioningState This property is required. string
Provisioning state of the ManagedNetwork resource.
type This property is required. 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 This property is required. str
A unique read-only string that changes whenever the resource is updated.
provisioning_state This property is required. str
Provisioning state of the ManagedNetwork resource.
type This property is required. 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 This property is required. String
A unique read-only string that changes whenever the resource is updated.
provisioningState This property is required. String
Provisioning state of the ManagedNetwork resource.
type This property is required. 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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi