1. Packages
  2. Azure Native v1
  3. API Docs
  4. network
  5. getServiceEndpointPolicyDefinition
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.network.getServiceEndpointPolicyDefinition

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Get the specified service endpoint policy definitions from service endpoint policy. API Version: 2020-11-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.
    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.
    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.
    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.
    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.
    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.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi