azure-native.network.getServiceEndpointPolicyDefinition
Explore with Pulumi AI
Get the specified service endpoint policy definitions from service endpoint policy.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2018-07-01, 2018-08-01, 2018-10-01, 2018-11-01, 2018-12-01, 2019-02-01, 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]. See the version guide for details.
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)
public static Output<GetServiceEndpointPolicyDefinitionResult> getServiceEndpointPolicyDefinition(GetServiceEndpointPolicyDefinitionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getServiceEndpointPolicyDefinition
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Resource
Group stringName  - The name of the resource group.
 - Service
Endpoint stringPolicy Definition Name  - The name of the service endpoint policy definition name.
 - Service
Endpoint stringPolicy Name  - The name of the service endpoint policy name.
 
- Resource
Group stringName  - The name of the resource group.
 - Service
Endpoint stringPolicy Definition Name  - The name of the service endpoint policy definition name.
 - Service
Endpoint stringPolicy Name  - The name of the service endpoint policy name.
 
- resource
Group StringName  - The name of the resource group.
 - service
Endpoint StringPolicy Definition Name  - The name of the service endpoint policy definition name.
 - service
Endpoint StringPolicy Name  - The name of the service endpoint policy name.
 
- resource
Group stringName  - The name of the resource group.
 - service
Endpoint stringPolicy Definition Name  - The name of the service endpoint policy definition name.
 - service
Endpoint stringPolicy Name  - The name of the service endpoint policy name.
 
- resource_
group_ strname  - The name of the resource group.
 - service_
endpoint_ strpolicy_ definition_ name  - The name of the service endpoint policy definition name.
 - service_
endpoint_ strpolicy_ name  - The name of the service endpoint policy name.
 
- resource
Group StringName  - The name of the resource group.
 - service
Endpoint StringPolicy Definition Name  - The name of the service endpoint policy definition name.
 - service
Endpoint StringPolicy Name  - The name of the service endpoint policy name.
 
getServiceEndpointPolicyDefinition Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Etag string
 - A unique read-only string that changes whenever the resource is updated.
 - Provisioning
State 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.
 - Service
Resources List<string> - A list of service resources.
 - Type string
 - The type of the resource.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Etag string
 - A unique read-only string that changes whenever the resource is updated.
 - Provisioning
State 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.
 - Service
Resources []string - A list of service resources.
 - Type string
 - The type of the resource.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - etag String
 - A unique read-only string that changes whenever the resource is updated.
 - provisioning
State 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.
 - service
Resources List<String> - A list of service resources.
 - type String
 - The type of the resource.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - etag string
 - A unique read-only string that changes whenever the resource is updated.
 - provisioning
State 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.
 - service
Resources string[] - A list of service resources.
 - type string
 - The type of the resource.
 
- azure_
api_ strversion  - The Azure API version 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.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - etag String
 - A unique read-only string that changes whenever the resource is updated.
 - provisioning
State 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.
 - service
Resources 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