azure-native.peering.getPeeringService
Explore with Pulumi AI
Gets an existing peering service with the specified name under the given subscription and resource group.
Uses Azure REST API version 2022-10-01.
Other available API versions: 2025-05-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native peering [ApiVersion]
. See the version guide for details.
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>
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]
func LookupPeeringService(ctx *Context, args *LookupPeeringServiceArgs, opts ...InvokeOption) (*LookupPeeringServiceResult, error)
func LookupPeeringServiceOutput(ctx *Context, args *LookupPeeringServiceOutputArgs, opts ...InvokeOption) LookupPeeringServiceResultOutput
> 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)
}
public static CompletableFuture<GetPeeringServiceResult> getPeeringService(GetPeeringServiceArgs args, InvokeOptions options)
public static Output<GetPeeringServiceResult> getPeeringService(GetPeeringServiceArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:peering:getPeeringService
arguments:
# arguments dictionary
The following arguments are supported:
- Peering
Service stringName - The name of the peering.
- Resource
Group stringName - The name of the resource group.
- Peering
Service stringName - The name of the peering.
- Resource
Group stringName - The name of the resource group.
- peering
Service StringName - The name of the peering.
- resource
Group StringName - The name of the resource group.
- peering
Service stringName - The name of the peering.
- resource
Group stringName - The name of the resource group.
- peering_
service_ strname - The name of the peering.
- resource_
group_ strname - The name of the resource group.
- peering
Service StringName - The name of the peering.
- resource
Group StringName - The name of the resource group.
getPeeringService Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The ID of the resource.
- Location string
- The location of the resource.
- Name string
- The name of the resource.
- Provisioning
State string - The provisioning state of the resource.
- Type string
- The type of the resource.
- Log
Analytics Pulumi.Workspace Properties Azure Native. Peering. Outputs. Log Analytics Workspace Properties Response - The Log Analytics Workspace Properties
- Peering
Service stringLocation - The location (state/province) of the customer.
- Peering
Service stringProvider - The name of the service provider.
- Provider
Backup stringPeering Location - The backup peering (Microsoft/service provider) location to be used for customer traffic.
- Provider
Primary stringPeering Location - The primary peering (Microsoft/service provider) location to be used for customer traffic.
- Sku
Pulumi.
Azure Native. Peering. Outputs. Peering Service Sku Response - The SKU that defines the type of the peering service.
- Dictionary<string, string>
- The resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The ID of the resource.
- Location string
- The location of the resource.
- Name string
- The name of the resource.
- Provisioning
State string - The provisioning state of the resource.
- Type string
- The type of the resource.
- Log
Analytics LogWorkspace Properties Analytics Workspace Properties Response - The Log Analytics Workspace Properties
- Peering
Service stringLocation - The location (state/province) of the customer.
- Peering
Service stringProvider - The name of the service provider.
- Provider
Backup stringPeering Location - The backup peering (Microsoft/service provider) location to be used for customer traffic.
- Provider
Primary stringPeering Location - The primary peering (Microsoft/service provider) location to be used for customer traffic.
- Sku
Peering
Service Sku Response - The SKU that defines the type of the peering service.
- map[string]string
- The resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The ID of the resource.
- location String
- The location of the resource.
- name String
- The name of the resource.
- provisioning
State String - The provisioning state of the resource.
- type String
- The type of the resource.
- log
Analytics LogWorkspace Properties Analytics Workspace Properties Response - The Log Analytics Workspace Properties
- peering
Service StringLocation - The location (state/province) of the customer.
- peering
Service StringProvider - The name of the service provider.
- provider
Backup StringPeering Location - The backup peering (Microsoft/service provider) location to be used for customer traffic.
- provider
Primary StringPeering Location - The primary peering (Microsoft/service provider) location to be used for customer traffic.
- sku
Peering
Service Sku Response - The SKU that defines the type of the peering service.
- Map<String,String>
- The resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The ID of the resource.
- location string
- The location of the resource.
- name string
- The name of the resource.
- provisioning
State string - The provisioning state of the resource.
- type string
- The type of the resource.
- log
Analytics LogWorkspace Properties Analytics Workspace Properties Response - The Log Analytics Workspace Properties
- peering
Service stringLocation - The location (state/province) of the customer.
- peering
Service stringProvider - The name of the service provider.
- provider
Backup stringPeering Location - The backup peering (Microsoft/service provider) location to be used for customer traffic.
- provider
Primary stringPeering Location - The primary peering (Microsoft/service provider) location to be used for customer traffic.
- sku
Peering
Service Sku Response - The SKU that defines the type of the peering service.
- {[key: string]: string}
- The resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- 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_ Logworkspace_ properties Analytics Workspace Properties Response - The Log Analytics Workspace Properties
- peering_
service_ strlocation - The location (state/province) of the customer.
- peering_
service_ strprovider - The name of the service provider.
- provider_
backup_ strpeering_ location - The backup peering (Microsoft/service provider) location to be used for customer traffic.
- provider_
primary_ strpeering_ location - The primary peering (Microsoft/service provider) location to be used for customer traffic.
- sku
Peering
Service Sku Response - The SKU that defines the type of the peering service.
- Mapping[str, str]
- The resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The ID of the resource.
- location String
- The location of the resource.
- name String
- The name of the resource.
- provisioning
State String - The provisioning state of the resource.
- type String
- The type of the resource.
- log
Analytics Property MapWorkspace Properties - The Log Analytics Workspace Properties
- peering
Service StringLocation - The location (state/province) of the customer.
- peering
Service StringProvider - The name of the service provider.
- provider
Backup StringPeering Location - The backup peering (Microsoft/service provider) location to be used for customer traffic.
- provider
Primary StringPeering Location - 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.
- Map<String>
- The resource tags.
Supporting Types
LogAnalyticsWorkspacePropertiesResponse
- Connected
Agents List<string> - The list of connected agents.
- Key string
- The Workspace Key.
- Workspace
ID string - The Workspace ID.
- Connected
Agents []string - The list of connected agents.
- Key string
- The Workspace Key.
- Workspace
ID string - The Workspace ID.
- connected
Agents List<String> - The list of connected agents.
- key String
- The Workspace Key.
- workspace
ID String - The Workspace ID.
- connected
Agents string[] - The list of connected agents.
- key string
- The Workspace Key.
- workspace
ID string - The Workspace ID.
- connected_
agents Sequence[str] - The list of connected agents.
- key str
- The Workspace Key.
- workspace_
id str - The Workspace ID.
- connected
Agents List<String> - The list of connected agents.
- key String
- The Workspace Key.
- workspace
ID 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 pulumi/pulumi-azure-native
- License
- Apache-2.0