你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeliveryWithResourceIdentity Class

  • java.lang.Object
    • com.microsoft.azure.management.eventgrid.v2020_04_01_preview.DeliveryWithResourceIdentity

public class DeliveryWithResourceIdentity

Information about the delivery for an event subscription with resource identity.

Constructor Summary

Constructor Description
DeliveryWithResourceIdentity()

Method Summary

Modifier and Type Method and Description
EventSubscriptionDestination destination()

Get information about the destination where events have to be delivered for the event subscription.

EventSubscriptionIdentity identity()

Get the identity to use when delivering events.

DeliveryWithResourceIdentity withDestination(EventSubscriptionDestination destination)

Set information about the destination where events have to be delivered for the event subscription.

DeliveryWithResourceIdentity withIdentity(EventSubscriptionIdentity identity)

Set the identity to use when delivering events.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

DeliveryWithResourceIdentity

public DeliveryWithResourceIdentity()

Method Details

destination

public EventSubscriptionDestination destination()

Get information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.

Returns:

the destination value

identity

public EventSubscriptionIdentity identity()

Get the identity to use when delivering events.

Returns:

the identity value

withDestination

public DeliveryWithResourceIdentity withDestination(EventSubscriptionDestination destination)

Set information about the destination where events have to be delivered for the event subscription. Uses Azure Event Grid's identity to acquire the authentication tokens being used during delivery / dead-lettering.

Parameters:

destination - the destination value to set

Returns:

the DeliveryWithResourceIdentity object itself.

withIdentity

public DeliveryWithResourceIdentity withIdentity(EventSubscriptionIdentity identity)

Set the identity to use when delivering events.

Parameters:

identity - the identity value to set

Returns:

the DeliveryWithResourceIdentity object itself.

Applies to