1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getServiceEndpointPolicyDefinition
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.network.getServiceEndpointPolicyDefinition

Explore with Pulumi AI

azure-native logo
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Get the specified service endpoint policy definitions from service endpoint policy. Azure REST API version: 2023-02-01.

    Other available API versions: 2018-07-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01.

    Using getServiceEndpointPolicyDefinition

    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 getServiceEndpointPolicyDefinition(args: GetServiceEndpointPolicyDefinitionArgs, opts?: InvokeOptions): Promise<GetServiceEndpointPolicyDefinitionResult>
    function getServiceEndpointPolicyDefinitionOutput(args: GetServiceEndpointPolicyDefinitionOutputArgs, opts?: InvokeOptions): Output<GetServiceEndpointPolicyDefinitionResult>
    def get_service_endpoint_policy_definition(resource_group_name: Optional[str] = None,
                                               service_endpoint_policy_definition_name: Optional[str] = None,
                                               service_endpoint_policy_name: Optional[str] = None,
                                               opts: Optional[InvokeOptions] = None) -> GetServiceEndpointPolicyDefinitionResult
    def get_service_endpoint_policy_definition_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                                               service_endpoint_policy_definition_name: Optional[pulumi.Input[str]] = None,
                                               service_endpoint_policy_name: Optional[pulumi.Input[str]] = None,
                                               opts: Optional[InvokeOptions] = None) -> Output[GetServiceEndpointPolicyDefinitionResult]
    func LookupServiceEndpointPolicyDefinition(ctx *Context, args *LookupServiceEndpointPolicyDefinitionArgs, opts ...InvokeOption) (*LookupServiceEndpointPolicyDefinitionResult, error)
    func LookupServiceEndpointPolicyDefinitionOutput(ctx *Context, args *LookupServiceEndpointPolicyDefinitionOutputArgs, opts ...InvokeOption) LookupServiceEndpointPolicyDefinitionResultOutput

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

    public static class GetServiceEndpointPolicyDefinition 
    {
        public static Task<GetServiceEndpointPolicyDefinitionResult> InvokeAsync(GetServiceEndpointPolicyDefinitionArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceEndpointPolicyDefinitionResult> Invoke(GetServiceEndpointPolicyDefinitionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceEndpointPolicyDefinitionResult> getServiceEndpointPolicyDefinition(GetServiceEndpointPolicyDefinitionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:getServiceEndpointPolicyDefinition
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group.
    ServiceEndpointPolicyDefinitionName string
    The name of the service endpoint policy definition name.
    ServiceEndpointPolicyName string
    The name of the service endpoint policy name.
    ResourceGroupName string
    The name of the resource group.
    ServiceEndpointPolicyDefinitionName string
    The name of the service endpoint policy definition name.
    ServiceEndpointPolicyName string
    The name of the service endpoint policy name.
    resourceGroupName String
    The name of the resource group.
    serviceEndpointPolicyDefinitionName String
    The name of the service endpoint policy definition name.
    serviceEndpointPolicyName String
    The name of the service endpoint policy name.
    resourceGroupName string
    The name of the resource group.
    serviceEndpointPolicyDefinitionName string
    The name of the service endpoint policy definition name.
    serviceEndpointPolicyName string
    The name of the service endpoint policy name.
    resource_group_name str
    The name of the resource group.
    service_endpoint_policy_definition_name str
    The name of the service endpoint policy definition name.
    service_endpoint_policy_name str
    The name of the service endpoint policy name.
    resourceGroupName String
    The name of the resource group.
    serviceEndpointPolicyDefinitionName String
    The name of the service endpoint policy definition name.
    serviceEndpointPolicyName String
    The name of the service endpoint policy name.

    getServiceEndpointPolicyDefinition Result

    The following output properties are available:

    Etag string
    A unique read-only string that changes whenever the resource is updated.
    ProvisioningState string
    The provisioning state of the service endpoint policy definition resource.
    Description string
    A description for this rule. Restricted to 140 chars.
    Id string
    Resource ID.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    Service string
    Service endpoint name.
    ServiceResources List<string>
    A list of service resources.
    Type string
    The type of the resource.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    ProvisioningState string
    The provisioning state of the service endpoint policy definition resource.
    Description string
    A description for this rule. Restricted to 140 chars.
    Id string
    Resource ID.
    Name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    Service string
    Service endpoint name.
    ServiceResources []string
    A list of service resources.
    Type string
    The type of the resource.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    provisioningState String
    The provisioning state of the service endpoint policy definition resource.
    description String
    A description for this rule. Restricted to 140 chars.
    id String
    Resource ID.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    service String
    Service endpoint name.
    serviceResources List<String>
    A list of service resources.
    type String
    The type of the resource.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    provisioningState string
    The provisioning state of the service endpoint policy definition resource.
    description string
    A description for this rule. Restricted to 140 chars.
    id string
    Resource ID.
    name string
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    service string
    Service endpoint name.
    serviceResources string[]
    A list of service resources.
    type string
    The type of the resource.
    etag str
    A unique read-only string that changes whenever the resource is updated.
    provisioning_state str
    The provisioning state of the service endpoint policy definition resource.
    description str
    A description for this rule. Restricted to 140 chars.
    id str
    Resource ID.
    name str
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    service str
    Service endpoint name.
    service_resources Sequence[str]
    A list of service resources.
    type str
    The type of the resource.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    provisioningState String
    The provisioning state of the service endpoint policy definition resource.
    description String
    A description for this rule. Restricted to 140 chars.
    id String
    Resource ID.
    name String
    The name of the resource that is unique within a resource group. This name can be used to access the resource.
    service String
    Service endpoint name.
    serviceResources List<String>
    A list of service resources.
    type String
    The type of the resource.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.47.1 published on Monday, Jun 24, 2024 by Pulumi