class Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::PartnerTopic
Attributes
@return [PartnerTopicActivationState] Activation state of the partner topic. Possible values include: 'NeverActivated', 'Activated', 'Deactivated'
@return [DateTime] Expiration time of the partner topic. If this timer expires while the partner topic is still never activated, the partner topic and corresponding event channel are deleted.
@return [String] Friendly description about the topic. This can be set by the publisher/partner to show custom description for the customer partner topic. This will be helpful to remove any ambiguity of the origin of creation of the partner topic for the customer.
@return [PartnerTopicProvisioningState] Provisioning state of the partner topic. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Canceled', 'Failed'
@return [String] Source associated with this partner topic. This represents a unique partner resource.
Public Class Methods
Mapper for PartnerTopic
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/partner_topic.rb, line 46 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PartnerTopic', type: { name: 'Composite', class_name: 'PartnerTopic', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, source: { client_side_validation: true, required: false, serialized_name: 'properties.source', type: { name: 'String' } }, expiration_time_if_not_activated_utc: { client_side_validation: true, required: false, serialized_name: 'properties.expirationTimeIfNotActivatedUtc', type: { name: 'DateTime' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, activation_state: { client_side_validation: true, required: false, serialized_name: 'properties.activationState', type: { name: 'String' } }, partner_topic_friendly_description: { client_side_validation: true, required: false, serialized_name: 'properties.partnerTopicFriendlyDescription', type: { name: 'String' } } } } } end