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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
azure-native.eventgrid.getEventSubscriptionDeliveryAttributes
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Get all delivery attributes for an event subscription. Azure REST API version: 2022-06-15.
Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview.
Using getEventSubscriptionDeliveryAttributes
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 getEventSubscriptionDeliveryAttributes(args: GetEventSubscriptionDeliveryAttributesArgs, opts?: InvokeOptions): Promise<GetEventSubscriptionDeliveryAttributesResult>
function getEventSubscriptionDeliveryAttributesOutput(args: GetEventSubscriptionDeliveryAttributesOutputArgs, opts?: InvokeOptions): Output<GetEventSubscriptionDeliveryAttributesResult>
def get_event_subscription_delivery_attributes(event_subscription_name: Optional[str] = None,
scope: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEventSubscriptionDeliveryAttributesResult
def get_event_subscription_delivery_attributes_output(event_subscription_name: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEventSubscriptionDeliveryAttributesResult]
func GetEventSubscriptionDeliveryAttributes(ctx *Context, args *GetEventSubscriptionDeliveryAttributesArgs, opts ...InvokeOption) (*GetEventSubscriptionDeliveryAttributesResult, error)
func GetEventSubscriptionDeliveryAttributesOutput(ctx *Context, args *GetEventSubscriptionDeliveryAttributesOutputArgs, opts ...InvokeOption) GetEventSubscriptionDeliveryAttributesResultOutput
> Note: This function is named GetEventSubscriptionDeliveryAttributes
in the Go SDK.
public static class GetEventSubscriptionDeliveryAttributes
{
public static Task<GetEventSubscriptionDeliveryAttributesResult> InvokeAsync(GetEventSubscriptionDeliveryAttributesArgs args, InvokeOptions? opts = null)
public static Output<GetEventSubscriptionDeliveryAttributesResult> Invoke(GetEventSubscriptionDeliveryAttributesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEventSubscriptionDeliveryAttributesResult> getEventSubscriptionDeliveryAttributes(GetEventSubscriptionDeliveryAttributesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:eventgrid:getEventSubscriptionDeliveryAttributes
arguments:
# arguments dictionary
The following arguments are supported:
- Event
Subscription stringName - Name of the event subscription.
- Scope string
- The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- Event
Subscription stringName - Name of the event subscription.
- Scope string
- The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- event
Subscription StringName - Name of the event subscription.
- scope String
- The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- event
Subscription stringName - Name of the event subscription.
- scope string
- The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- event_
subscription_ strname - Name of the event subscription.
- scope str
- The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
- event
Subscription StringName - Name of the event subscription.
- scope String
- The scope of the event subscription. The scope can be a subscription, or a resource group, or a top level resource belonging to a resource provider namespace, or an EventGrid topic. For example, use '/subscriptions/{subscriptionId}/' for a subscription, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a resource group, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}' for a resource, and '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}' for an EventGrid topic.
getEventSubscriptionDeliveryAttributes Result
The following output properties are available:
- Value
List<Union<Pulumi.
Azure Native. Event Grid. Outputs. Dynamic Delivery Attribute Mapping Response, Pulumi. Azure Native. Event Grid. Outputs. Static Delivery Attribute Mapping Response>> - A collection of DeliveryAttributeMapping
- Value []interface{}
- A collection of DeliveryAttributeMapping
- value
List<Either<Dynamic
Delivery Attribute Mapping Response,Static Delivery Attribute Mapping Response>> - A collection of DeliveryAttributeMapping
- value
(Dynamic
Delivery Attribute Mapping Response | Static Delivery Attribute Mapping Response)[] - A collection of DeliveryAttributeMapping
- value Sequence[Any]
- A collection of DeliveryAttributeMapping
- value List<Property Map | Property Map>
- A collection of DeliveryAttributeMapping
Supporting Types
DynamicDeliveryAttributeMappingResponse
- Name string
- Name of the delivery attribute or header.
- Source
Field string - JSON path in the event which contains attribute value.
- Name string
- Name of the delivery attribute or header.
- Source
Field string - JSON path in the event which contains attribute value.
- name String
- Name of the delivery attribute or header.
- source
Field String - JSON path in the event which contains attribute value.
- name string
- Name of the delivery attribute or header.
- source
Field string - JSON path in the event which contains attribute value.
- name str
- Name of the delivery attribute or header.
- source_
field str - JSON path in the event which contains attribute value.
- name String
- Name of the delivery attribute or header.
- source
Field String - JSON path in the event which contains attribute value.
StaticDeliveryAttributeMappingResponse
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi