Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the PnsCredentialsResource class.
 /// </summary>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="location">Resource location</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="sku">The sku of the created namespace</param>
 /// <param name="apnsCredential">The ApnsCredential of the created
 /// NotificationHub</param>
 /// <param name="wnsCredential">The WnsCredential of the created
 /// NotificationHub</param>
 /// <param name="gcmCredential">The GcmCredential of the created
 /// NotificationHub</param>
 /// <param name="mpnsCredential">The MpnsCredential of the created
 /// NotificationHub</param>
 /// <param name="admCredential">The AdmCredential of the created
 /// NotificationHub</param>
 /// <param name="baiduCredential">The BaiduCredential of the created
 /// NotificationHub</param>
 public PnsCredentialsResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Sku sku = default(Sku), ApnsCredential apnsCredential = default(ApnsCredential), WnsCredential wnsCredential = default(WnsCredential), GcmCredential gcmCredential = default(GcmCredential), MpnsCredential mpnsCredential = default(MpnsCredential), AdmCredential admCredential = default(AdmCredential), BaiduCredential baiduCredential = default(BaiduCredential))
     : base(id, name, type, location, tags, sku)
 {
     ApnsCredential  = apnsCredential;
     WnsCredential   = wnsCredential;
     GcmCredential   = gcmCredential;
     MpnsCredential  = mpnsCredential;
     AdmCredential   = admCredential;
     BaiduCredential = baiduCredential;
     CustomInit();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the NotificationHubProperties class.
 /// </summary>
 public NotificationHubProperties(string name = default(string), string registrationTtl = default(string), IList <SharedAccessAuthorizationRuleProperties> authorizationRules = default(IList <SharedAccessAuthorizationRuleProperties>), ApnsCredential apnsCredential = default(ApnsCredential), WnsCredential wnsCredential = default(WnsCredential), GcmCredential gcmCredential = default(GcmCredential), MpnsCredential mpnsCredential = default(MpnsCredential), AdmCredential admCredential = default(AdmCredential), BaiduCredential baiduCredential = default(BaiduCredential))
 {
     Name               = name;
     RegistrationTtl    = registrationTtl;
     AuthorizationRules = authorizationRules;
     ApnsCredential     = apnsCredential;
     WnsCredential      = wnsCredential;
     GcmCredential      = gcmCredential;
     MpnsCredential     = mpnsCredential;
     AdmCredential      = admCredential;
     BaiduCredential    = baiduCredential;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the NotificationHubResource class.
 /// </summary>
 /// <param name="id">Resource Id</param>
 /// <param name="name">Resource name</param>
 /// <param name="type">Resource type</param>
 /// <param name="location">Resource location</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="sku">The sku of the created namespace</param>
 /// <param name="notificationHubResourceName">The NotificationHub
 /// name.</param>
 /// <param name="registrationTtl">The RegistrationTtl of the created
 /// NotificationHub</param>
 /// <param name="authorizationRules">The AuthorizationRules of the
 /// created NotificationHub</param>
 /// <param name="apnsCredential">The ApnsCredential of the created
 /// NotificationHub</param>
 /// <param name="wnsCredential">The WnsCredential of the created
 /// NotificationHub</param>
 /// <param name="gcmCredential">The GcmCredential of the created
 /// NotificationHub</param>
 /// <param name="mpnsCredential">The MpnsCredential of the created
 /// NotificationHub</param>
 /// <param name="admCredential">The AdmCredential of the created
 /// NotificationHub</param>
 /// <param name="baiduCredential">The BaiduCredential of the created
 /// NotificationHub</param>
 public NotificationHubResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Sku sku = default(Sku), string notificationHubResourceName = default(string), string registrationTtl = default(string), IList <SharedAccessAuthorizationRuleProperties> authorizationRules = default(IList <SharedAccessAuthorizationRuleProperties>), ApnsCredential apnsCredential = default(ApnsCredential), WnsCredential wnsCredential = default(WnsCredential), GcmCredential gcmCredential = default(GcmCredential), MpnsCredential mpnsCredential = default(MpnsCredential), AdmCredential admCredential = default(AdmCredential), BaiduCredential baiduCredential = default(BaiduCredential))
     : base(id, name, type, location, tags, sku)
 {
     NotificationHubResourceName = notificationHubResourceName;
     RegistrationTtl             = registrationTtl;
     AuthorizationRules          = authorizationRules;
     ApnsCredential  = apnsCredential;
     WnsCredential   = wnsCredential;
     GcmCredential   = gcmCredential;
     MpnsCredential  = mpnsCredential;
     AdmCredential   = admCredential;
     BaiduCredential = baiduCredential;
     CustomInit();
 }