1. Packages
  2. Azure Native v2
  3. API Docs
  4. peering
  5. getPeeringService
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.peering.getPeeringService

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

Gets an existing peering service with the specified name under the given subscription and resource group. Azure REST API version: 2022-10-01.

Using getPeeringService

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 getPeeringService(args: GetPeeringServiceArgs, opts?: InvokeOptions): Promise<GetPeeringServiceResult>
function getPeeringServiceOutput(args: GetPeeringServiceOutputArgs, opts?: InvokeOptions): Output<GetPeeringServiceResult>
Copy
def get_peering_service(peering_service_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetPeeringServiceResult
def get_peering_service_output(peering_service_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetPeeringServiceResult]
Copy
func LookupPeeringService(ctx *Context, args *LookupPeeringServiceArgs, opts ...InvokeOption) (*LookupPeeringServiceResult, error)
func LookupPeeringServiceOutput(ctx *Context, args *LookupPeeringServiceOutputArgs, opts ...InvokeOption) LookupPeeringServiceResultOutput
Copy

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

public static class GetPeeringService 
{
    public static Task<GetPeeringServiceResult> InvokeAsync(GetPeeringServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetPeeringServiceResult> Invoke(GetPeeringServiceInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetPeeringServiceResult> getPeeringService(GetPeeringServiceArgs args, InvokeOptions options)
public static Output<GetPeeringServiceResult> getPeeringService(GetPeeringServiceArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:peering:getPeeringService
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PeeringServiceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the peering.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
PeeringServiceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the peering.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
peeringServiceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the peering.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
peeringServiceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the peering.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
peering_service_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the peering.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
peeringServiceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the peering.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.

getPeeringService Result

The following output properties are available:

Id string
The ID of the resource.
Location string
The location of the resource.
Name string
The name of the resource.
ProvisioningState string
The provisioning state of the resource.
Type string
The type of the resource.
LogAnalyticsWorkspaceProperties Pulumi.AzureNative.Peering.Outputs.LogAnalyticsWorkspacePropertiesResponse
The Log Analytics Workspace Properties
PeeringServiceLocation string
The location (state/province) of the customer.
PeeringServiceProvider string
The name of the service provider.
ProviderBackupPeeringLocation string
The backup peering (Microsoft/service provider) location to be used for customer traffic.
ProviderPrimaryPeeringLocation string
The primary peering (Microsoft/service provider) location to be used for customer traffic.
Sku Pulumi.AzureNative.Peering.Outputs.PeeringServiceSkuResponse
The SKU that defines the type of the peering service.
Tags Dictionary<string, string>
The resource tags.
Id string
The ID of the resource.
Location string
The location of the resource.
Name string
The name of the resource.
ProvisioningState string
The provisioning state of the resource.
Type string
The type of the resource.
LogAnalyticsWorkspaceProperties LogAnalyticsWorkspacePropertiesResponse
The Log Analytics Workspace Properties
PeeringServiceLocation string
The location (state/province) of the customer.
PeeringServiceProvider string
The name of the service provider.
ProviderBackupPeeringLocation string
The backup peering (Microsoft/service provider) location to be used for customer traffic.
ProviderPrimaryPeeringLocation string
The primary peering (Microsoft/service provider) location to be used for customer traffic.
Sku PeeringServiceSkuResponse
The SKU that defines the type of the peering service.
Tags map[string]string
The resource tags.
id String
The ID of the resource.
location String
The location of the resource.
name String
The name of the resource.
provisioningState String
The provisioning state of the resource.
type String
The type of the resource.
logAnalyticsWorkspaceProperties LogAnalyticsWorkspacePropertiesResponse
The Log Analytics Workspace Properties
peeringServiceLocation String
The location (state/province) of the customer.
peeringServiceProvider String
The name of the service provider.
providerBackupPeeringLocation String
The backup peering (Microsoft/service provider) location to be used for customer traffic.
providerPrimaryPeeringLocation String
The primary peering (Microsoft/service provider) location to be used for customer traffic.
sku PeeringServiceSkuResponse
The SKU that defines the type of the peering service.
tags Map<String,String>
The resource tags.
id string
The ID of the resource.
location string
The location of the resource.
name string
The name of the resource.
provisioningState string
The provisioning state of the resource.
type string
The type of the resource.
logAnalyticsWorkspaceProperties LogAnalyticsWorkspacePropertiesResponse
The Log Analytics Workspace Properties
peeringServiceLocation string
The location (state/province) of the customer.
peeringServiceProvider string
The name of the service provider.
providerBackupPeeringLocation string
The backup peering (Microsoft/service provider) location to be used for customer traffic.
providerPrimaryPeeringLocation string
The primary peering (Microsoft/service provider) location to be used for customer traffic.
sku PeeringServiceSkuResponse
The SKU that defines the type of the peering service.
tags {[key: string]: string}
The resource tags.
id str
The ID of the resource.
location str
The location of the resource.
name str
The name of the resource.
provisioning_state str
The provisioning state of the resource.
type str
The type of the resource.
log_analytics_workspace_properties LogAnalyticsWorkspacePropertiesResponse
The Log Analytics Workspace Properties
peering_service_location str
The location (state/province) of the customer.
peering_service_provider str
The name of the service provider.
provider_backup_peering_location str
The backup peering (Microsoft/service provider) location to be used for customer traffic.
provider_primary_peering_location str
The primary peering (Microsoft/service provider) location to be used for customer traffic.
sku PeeringServiceSkuResponse
The SKU that defines the type of the peering service.
tags Mapping[str, str]
The resource tags.
id String
The ID of the resource.
location String
The location of the resource.
name String
The name of the resource.
provisioningState String
The provisioning state of the resource.
type String
The type of the resource.
logAnalyticsWorkspaceProperties Property Map
The Log Analytics Workspace Properties
peeringServiceLocation String
The location (state/province) of the customer.
peeringServiceProvider String
The name of the service provider.
providerBackupPeeringLocation String
The backup peering (Microsoft/service provider) location to be used for customer traffic.
providerPrimaryPeeringLocation String
The primary peering (Microsoft/service provider) location to be used for customer traffic.
sku Property Map
The SKU that defines the type of the peering service.
tags Map<String>
The resource tags.

Supporting Types

LogAnalyticsWorkspacePropertiesResponse

ConnectedAgents This property is required. List<string>
The list of connected agents.
Key This property is required. string
The Workspace Key.
WorkspaceID This property is required. string
The Workspace ID.
ConnectedAgents This property is required. []string
The list of connected agents.
Key This property is required. string
The Workspace Key.
WorkspaceID This property is required. string
The Workspace ID.
connectedAgents This property is required. List<String>
The list of connected agents.
key This property is required. String
The Workspace Key.
workspaceID This property is required. String
The Workspace ID.
connectedAgents This property is required. string[]
The list of connected agents.
key This property is required. string
The Workspace Key.
workspaceID This property is required. string
The Workspace ID.
connected_agents This property is required. Sequence[str]
The list of connected agents.
key This property is required. str
The Workspace Key.
workspace_id This property is required. str
The Workspace ID.
connectedAgents This property is required. List<String>
The list of connected agents.
key This property is required. String
The Workspace Key.
workspaceID This property is required. String
The Workspace ID.

PeeringServiceSkuResponse

Name string
The name of the peering service SKU.
Name string
The name of the peering service SKU.
name String
The name of the peering service SKU.
name string
The name of the peering service SKU.
name str
The name of the peering service SKU.
name String
The name of the peering service SKU.

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