/// <summary>
 /// Initializes a new instance of the PartnerTopicInfo class.
 /// </summary>
 /// <param name="azureSubscriptionId">Azure subscription ID of the
 /// subscriber. The partner topic associated with the channel will be
 /// created under this Azure subscription.</param>
 /// <param name="resourceGroupName">Azure Resource Group of the
 /// subscriber. The partner topic associated with the channel will be
 /// created under this resource group.</param>
 /// <param name="name">Name of the partner topic associated with the
 /// channel.</param>
 /// <param name="eventTypeInfo">Event Type Information for the partner
 /// topic. This information is provided by the publisher and can be
 /// used by the
 /// subscriber to view different types of events that are
 /// published.</param>
 /// <param name="source">The source information is provided by the
 /// publisher to determine the scope or context from which the events
 /// are originating. This information can be used by the subscriber
 /// during the approval process of the
 /// created partner topic.</param>
 public PartnerTopicInfo(string azureSubscriptionId = default(string), string resourceGroupName = default(string), string name = default(string), EventTypeInfo eventTypeInfo = default(EventTypeInfo), string source = default(string))
 {
     AzureSubscriptionId = azureSubscriptionId;
     ResourceGroupName   = resourceGroupName;
     Name          = name;
     EventTypeInfo = eventTypeInfo;
     Source        = source;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the PartnerTopic class.
 /// </summary>
 /// <param name="location">Location of the resource.</param>
 /// <param name="id">Fully qualified identifier of the
 /// resource.</param>
 /// <param name="name">Name of the resource.</param>
 /// <param name="type">Type of the resource.</param>
 /// <param name="tags">Tags of the resource.</param>
 /// <param name="partnerRegistrationImmutableId">The immutableId of the
 /// corresponding partner registration.</param>
 /// <param name="source">Source associated with this partner topic.
 /// This represents a unique partner resource.</param>
 /// <param name="eventTypeInfo">Event Type information from the
 /// corresponding event channel.</param>
 /// <param name="expirationTimeIfNotActivatedUtc">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.</param>
 /// <param name="provisioningState">Provisioning state of the partner
 /// topic. Possible values include: 'Creating', 'Updating', 'Deleting',
 /// 'Succeeded', 'Canceled', 'Failed'</param>
 /// <param name="activationState">Activation state of the partner
 /// topic. Possible values include: 'NeverActivated', 'Activated',
 /// 'Deactivated'</param>
 /// <param name="partnerTopicFriendlyDescription">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.</param>
 /// <param name="messageForActivation">Context or helpful message that
 /// can be used during the approval process by the subscriber.</param>
 /// <param name="systemData">The system metadata relating to Partner
 /// Topic resource.</param>
 /// <param name="identity">Identity information for the Partner Topic
 /// resource.</param>
 public PartnerTopic(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), System.Guid?partnerRegistrationImmutableId = default(System.Guid?), string source = default(string), EventTypeInfo eventTypeInfo = default(EventTypeInfo), System.DateTime?expirationTimeIfNotActivatedUtc = default(System.DateTime?), string provisioningState = default(string), string activationState = default(string), string partnerTopicFriendlyDescription = default(string), string messageForActivation = default(string), SystemData systemData = default(SystemData), IdentityInfo identity = default(IdentityInfo))
     : base(location, id, name, type, tags)
 {
     PartnerRegistrationImmutableId = partnerRegistrationImmutableId;
     Source        = source;
     EventTypeInfo = eventTypeInfo;
     ExpirationTimeIfNotActivatedUtc = expirationTimeIfNotActivatedUtc;
     ProvisioningState = provisioningState;
     ActivationState   = activationState;
     PartnerTopicFriendlyDescription = partnerTopicFriendlyDescription;
     MessageForActivation            = messageForActivation;
     SystemData = systemData;
     Identity   = identity;
     CustomInit();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the PartnerUpdateTopicInfo class.
 /// </summary>
 /// <param name="eventTypeInfo">Event type info for the partner
 /// topic</param>
 public PartnerUpdateTopicInfo(EventTypeInfo eventTypeInfo = default(EventTypeInfo))
 {
     EventTypeInfo = eventTypeInfo;
     CustomInit();
 }