Channel Interface
public interface Channel
An immutable client-side representation of Channel.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Channel |
channelType()
Gets the channel |
|
abstract
Offset |
expirationTimeIfNotActivatedUtc()
Gets the expiration |
|
abstract
Event |
getFullUrl()
Get full URL of partner destination channel. |
|
abstract
Response<Event |
getFullUrlWithResponse(Context context)
Get full URL of partner destination channel. |
| abstract String |
id()
Gets the id property: Fully qualified resource Id for the resource. |
|
abstract
Channel |
innerModel()
Gets the inner com. |
| abstract String |
messageForActivation()
Gets the message |
| abstract String |
name()
Gets the name property: The name of the resource. |
|
abstract
Partner |
partnerDestinationInfo()
Gets the partner |
|
abstract
Partner |
partnerTopicInfo()
Gets the partner |
|
abstract
Channel |
provisioningState()
Gets the provisioning |
|
abstract
Readiness |
readinessState()
Gets the readiness |
| abstract Channel |
refresh()
Refreshes the resource to sync with Azure. |
| abstract Channel |
refresh(Context context)
Refreshes the resource to sync with Azure. |
| abstract String |
resourceGroupName()
Gets the name of the resource group. |
|
abstract
System |
systemData()
Gets the system |
| abstract String |
type()
Gets the type property: The type of the resource. |
| abstract Update |
update()
Begins update for the Channel resource. |
Method Details
channelType
public abstract ChannelType channelType()
Gets the channelType property: The type of the event channel which represents the direction flow of events.
Returns:
expirationTimeIfNotActivatedUtc
public abstract OffsetDateTime expirationTimeIfNotActivatedUtc()
Gets the expirationTimeIfNotActivatedUtc property: Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.
Returns:
getFullUrl
public abstract EventSubscriptionFullUrl getFullUrl()
Get full URL of partner destination channel. Get the full endpoint URL of a partner destination channel.
Returns:
getFullUrlWithResponse
public abstract Response<EventSubscriptionFullUrl> getFullUrlWithResponse(Context context)
Get full URL of partner destination channel. Get the full endpoint URL of a partner destination channel.
Parameters:
Returns:
id
public abstract String id()
Gets the id property: Fully qualified resource Id for the resource.
Returns:
innerModel
public abstract ChannelInner innerModel()
Gets the inner com.azure.resourcemanager.eventgrid.fluent.models.ChannelInner object.
Returns:
messageForActivation
public abstract String messageForActivation()
Gets the messageForActivation property: Context or helpful message that can be used during the approval process by the subscriber.
Returns:
name
public abstract String name()
Gets the name property: The name of the resource.
Returns:
partnerDestinationInfo
public abstract PartnerDestinationInfo partnerDestinationInfo()
Gets the partnerDestinationInfo property: This property should be populated when channelType is PartnerDestination and represents information about the partner destination resource corresponding to the channel.
Returns:
partnerTopicInfo
public abstract PartnerTopicInfo partnerTopicInfo()
Gets the partnerTopicInfo property: This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
Returns:
provisioningState
public abstract ChannelProvisioningState provisioningState()
Gets the provisioningState property: Provisioning state of the channel.
Returns:
readinessState
public abstract ReadinessState readinessState()
Gets the readinessState property: The readiness state of the corresponding partner topic.
Returns:
refresh
public abstract Channel refresh()
Refreshes the resource to sync with Azure.
Returns:
refresh
public abstract Channel refresh(Context context)
Refreshes the resource to sync with Azure.
Parameters:
Returns:
resourceGroupName
public abstract String resourceGroupName()
Gets the name of the resource group.
Returns:
systemData
public abstract SystemData systemData()
Gets the systemData property: The system metadata relating to the Event Grid resource.
Returns:
type
public abstract String type()
Gets the type property: The type of the resource.
Returns:
update
public abstract Channel.Update update()
Begins update for the Channel resource.
Returns: