azure-native.peering.getRegisteredPrefix
Explore with Pulumi AI
Gets an existing registered prefix with the specified name under the given subscription, resource group and peering.
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 getRegisteredPrefix
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 getRegisteredPrefix(args: GetRegisteredPrefixArgs, opts?: InvokeOptions): Promise<GetRegisteredPrefixResult>
function getRegisteredPrefixOutput(args: GetRegisteredPrefixOutputArgs, opts?: InvokeOptions): Output<GetRegisteredPrefixResult>
def get_registered_prefix(peering_name: Optional[str] = None,
registered_prefix_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegisteredPrefixResult
def get_registered_prefix_output(peering_name: Optional[pulumi.Input[str]] = None,
registered_prefix_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegisteredPrefixResult]
func LookupRegisteredPrefix(ctx *Context, args *LookupRegisteredPrefixArgs, opts ...InvokeOption) (*LookupRegisteredPrefixResult, error)
func LookupRegisteredPrefixOutput(ctx *Context, args *LookupRegisteredPrefixOutputArgs, opts ...InvokeOption) LookupRegisteredPrefixResultOutput
> Note: This function is named LookupRegisteredPrefix
in the Go SDK.
public static class GetRegisteredPrefix
{
public static Task<GetRegisteredPrefixResult> InvokeAsync(GetRegisteredPrefixArgs args, InvokeOptions? opts = null)
public static Output<GetRegisteredPrefixResult> Invoke(GetRegisteredPrefixInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegisteredPrefixResult> getRegisteredPrefix(GetRegisteredPrefixArgs args, InvokeOptions options)
public static Output<GetRegisteredPrefixResult> getRegisteredPrefix(GetRegisteredPrefixArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:peering:getRegisteredPrefix
arguments:
# arguments dictionary
The following arguments are supported:
- Peering
Name string - The name of the peering.
- Registered
Prefix stringName - The name of the registered prefix.
- Resource
Group stringName - The name of the resource group.
- Peering
Name string - The name of the peering.
- Registered
Prefix stringName - The name of the registered prefix.
- Resource
Group stringName - The name of the resource group.
- peering
Name String - The name of the peering.
- registered
Prefix StringName - The name of the registered prefix.
- resource
Group StringName - The name of the resource group.
- peering
Name string - The name of the peering.
- registered
Prefix stringName - The name of the registered prefix.
- resource
Group stringName - The name of the resource group.
- peering_
name str - The name of the peering.
- registered_
prefix_ strname - The name of the registered prefix.
- resource_
group_ strname - The name of the resource group.
- peering
Name String - The name of the peering.
- registered
Prefix StringName - The name of the registered prefix.
- resource
Group StringName - The name of the resource group.
getRegisteredPrefix Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Error
Message string - The error message associated with the validation state, if any.
- Id string
- The ID of the resource.
- Name string
- The name of the resource.
- Peering
Service stringPrefix Key - The peering service prefix key that is to be shared with the customer.
- Prefix
Validation stringState - The prefix validation state.
- Provisioning
State string - The provisioning state of the resource.
- Type string
- The type of the resource.
- Prefix string
- The customer's prefix from which traffic originates.
- Azure
Api stringVersion - The Azure API version of the resource.
- Error
Message string - The error message associated with the validation state, if any.
- Id string
- The ID of the resource.
- Name string
- The name of the resource.
- Peering
Service stringPrefix Key - The peering service prefix key that is to be shared with the customer.
- Prefix
Validation stringState - The prefix validation state.
- Provisioning
State string - The provisioning state of the resource.
- Type string
- The type of the resource.
- Prefix string
- The customer's prefix from which traffic originates.
- azure
Api StringVersion - The Azure API version of the resource.
- error
Message String - The error message associated with the validation state, if any.
- id String
- The ID of the resource.
- name String
- The name of the resource.
- peering
Service StringPrefix Key - The peering service prefix key that is to be shared with the customer.
- prefix
Validation StringState - The prefix validation state.
- provisioning
State String - The provisioning state of the resource.
- type String
- The type of the resource.
- prefix String
- The customer's prefix from which traffic originates.
- azure
Api stringVersion - The Azure API version of the resource.
- error
Message string - The error message associated with the validation state, if any.
- id string
- The ID of the resource.
- name string
- The name of the resource.
- peering
Service stringPrefix Key - The peering service prefix key that is to be shared with the customer.
- prefix
Validation stringState - The prefix validation state.
- provisioning
State string - The provisioning state of the resource.
- type string
- The type of the resource.
- prefix string
- The customer's prefix from which traffic originates.
- azure_
api_ strversion - The Azure API version of the resource.
- error_
message str - The error message associated with the validation state, if any.
- id str
- The ID of the resource.
- name str
- The name of the resource.
- peering_
service_ strprefix_ key - The peering service prefix key that is to be shared with the customer.
- prefix_
validation_ strstate - The prefix validation state.
- provisioning_
state str - The provisioning state of the resource.
- type str
- The type of the resource.
- prefix str
- The customer's prefix from which traffic originates.
- azure
Api StringVersion - The Azure API version of the resource.
- error
Message String - The error message associated with the validation state, if any.
- id String
- The ID of the resource.
- name String
- The name of the resource.
- peering
Service StringPrefix Key - The peering service prefix key that is to be shared with the customer.
- prefix
Validation StringState - The prefix validation state.
- provisioning
State String - The provisioning state of the resource.
- type String
- The type of the resource.
- prefix String
- The customer's prefix from which traffic originates.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0