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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.managednetworkfabric.getIpPrefix
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Implements IP Prefix GET method. Azure REST API version: 2023-02-01-preview.
Other available API versions: 2023-06-15.
Using getIpPrefix
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 getIpPrefix(args: GetIpPrefixArgs, opts?: InvokeOptions): Promise<GetIpPrefixResult>
function getIpPrefixOutput(args: GetIpPrefixOutputArgs, opts?: InvokeOptions): Output<GetIpPrefixResult>def get_ip_prefix(ip_prefix_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetIpPrefixResult
def get_ip_prefix_output(ip_prefix_name: Optional[pulumi.Input[str]] = None,
                  resource_group_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetIpPrefixResult]func LookupIpPrefix(ctx *Context, args *LookupIpPrefixArgs, opts ...InvokeOption) (*LookupIpPrefixResult, error)
func LookupIpPrefixOutput(ctx *Context, args *LookupIpPrefixOutputArgs, opts ...InvokeOption) LookupIpPrefixResultOutput> Note: This function is named LookupIpPrefix in the Go SDK.
public static class GetIpPrefix 
{
    public static Task<GetIpPrefixResult> InvokeAsync(GetIpPrefixArgs args, InvokeOptions? opts = null)
    public static Output<GetIpPrefixResult> Invoke(GetIpPrefixInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpPrefixResult> getIpPrefix(GetIpPrefixArgs args, InvokeOptions options)
public static Output<GetIpPrefixResult> getIpPrefix(GetIpPrefixArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:managednetworkfabric:getIpPrefix
  arguments:
    # arguments dictionaryThe following arguments are supported:
- IpPrefix stringName 
- Name of the IP Prefix
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- IpPrefix stringName 
- Name of the IP Prefix
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ipPrefix StringName 
- Name of the IP Prefix
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- ipPrefix stringName 
- Name of the IP Prefix
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ip_prefix_ strname 
- Name of the IP Prefix
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- ipPrefix StringName 
- Name of the IP Prefix
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getIpPrefix 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}
- IpPrefix List<Pulumi.Rules Azure Native. Managed Network Fabric. Outputs. Ip Prefix Properties Response Ip Prefix Rules> 
- IpPrefix contains the list of IP PrefixRules objects.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- ProvisioningState string
- Gets the provisioning state of the resource.
- SystemData Pulumi.Azure Native. Managed Network Fabric. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Annotation string
- Switch configuration description.
- Dictionary<string, string>
- Resource tags.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- IpPrefix []IpRules Prefix Properties Response Ip Prefix Rules 
- IpPrefix contains the list of IP PrefixRules objects.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- ProvisioningState string
- Gets the provisioning state of the resource.
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Annotation string
- Switch configuration description.
- map[string]string
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ipPrefix List<IpRules Prefix Properties Response Ip Prefix Rules> 
- IpPrefix contains the list of IP PrefixRules objects.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioningState String
- Gets the provisioning state of the resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- annotation String
- Switch configuration description.
- Map<String,String>
- Resource tags.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ipPrefix IpRules Prefix Properties Response Ip Prefix Rules[] 
- IpPrefix contains the list of IP PrefixRules objects.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioningState string
- Gets the provisioning state of the resource.
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- annotation string
- Switch configuration description.
- {[key: string]: string}
- Resource tags.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ip_prefix_ Sequence[Iprules Prefix Properties Response Ip Prefix Rules] 
- IpPrefix contains the list of IP PrefixRules objects.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_state str
- Gets the provisioning state of the resource.
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- annotation str
- Switch configuration description.
- Mapping[str, str]
- Resource tags.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- ipPrefix List<Property Map>Rules 
- IpPrefix contains the list of IP PrefixRules objects.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioningState String
- Gets the provisioning state of the resource.
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- annotation String
- Switch configuration description.
- Map<String>
- Resource tags.
Supporting Types
IpPrefixPropertiesResponseIpPrefixRules      
- Action string
- Action to be taken on the configuration. Example: Permit | Deny.
- NetworkPrefix string
- Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126
- SequenceNumber double
- Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.
- Condition string
- Specify prefix-list bounds.
- SubnetMask intLength 
- SubnetMaskLength gives the minimum NetworkPrefix length to be matched.Possible values for IPv4 are 1 - 32. Possible values of IPv6 are 1 - 128.
- Action string
- Action to be taken on the configuration. Example: Permit | Deny.
- NetworkPrefix string
- Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126
- SequenceNumber float64
- Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.
- Condition string
- Specify prefix-list bounds.
- SubnetMask intLength 
- SubnetMaskLength gives the minimum NetworkPrefix length to be matched.Possible values for IPv4 are 1 - 32. Possible values of IPv6 are 1 - 128.
- action String
- Action to be taken on the configuration. Example: Permit | Deny.
- networkPrefix String
- Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126
- sequenceNumber Double
- Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.
- condition String
- Specify prefix-list bounds.
- subnetMask IntegerLength 
- SubnetMaskLength gives the minimum NetworkPrefix length to be matched.Possible values for IPv4 are 1 - 32. Possible values of IPv6 are 1 - 128.
- action string
- Action to be taken on the configuration. Example: Permit | Deny.
- networkPrefix string
- Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126
- sequenceNumber number
- Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.
- condition string
- Specify prefix-list bounds.
- subnetMask numberLength 
- SubnetMaskLength gives the minimum NetworkPrefix length to be matched.Possible values for IPv4 are 1 - 32. Possible values of IPv6 are 1 - 128.
- action str
- Action to be taken on the configuration. Example: Permit | Deny.
- network_prefix str
- Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126
- sequence_number float
- Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.
- condition str
- Specify prefix-list bounds.
- subnet_mask_ intlength 
- SubnetMaskLength gives the minimum NetworkPrefix length to be matched.Possible values for IPv4 are 1 - 32. Possible values of IPv6 are 1 - 128.
- action String
- Action to be taken on the configuration. Example: Permit | Deny.
- networkPrefix String
- Network Prefix specifying IPv4/IPv6 packets to be permitted or denied. Example: 1.1.1.0/24 | 3FFE:FFFF:0:CD30::/126
- sequenceNumber Number
- Sequence to insert to/delete from existing route. Prefix lists are evaluated starting with the lowest sequence number and continue down the list until a match is made. Once a match is made, the permit or deny statement is applied to that network and the rest of the list is ignored.
- condition String
- Specify prefix-list bounds.
- subnetMask NumberLength 
- SubnetMaskLength gives the minimum NetworkPrefix length to be matched.Possible values for IPv4 are 1 - 32. Possible values of IPv6 are 1 - 128.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi