azure-native.network.getServiceEndpointPolicyDefinition
Explore with Pulumi AI
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:
- 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0