예제 #1
0
 /// <summary>
 /// Initializes a new instance of the IotHubProperties class.
 /// </summary>
 public IotHubProperties(IList <SharedAccessSignatureAuthorizationRule> authorizationPolicies = default(IList <SharedAccessSignatureAuthorizationRule>), string hostName = default(string), IDictionary <string, EventHubProperties> eventHubEndpoints = default(IDictionary <string, EventHubProperties>), IDictionary <string, StorageEndpointProperties> storageEndpoints = default(IDictionary <string, StorageEndpointProperties>), IDictionary <string, MessagingEndpointProperties> messagingEndpoints = default(IDictionary <string, MessagingEndpointProperties>), bool?enableFileUploadNotifications = default(bool?), CloudToDeviceProperties cloudToDevice = default(CloudToDeviceProperties), string comments = default(string), OperationsMonitoringProperties operationsMonitoringProperties = default(OperationsMonitoringProperties), string features = default(string))
 {
     AuthorizationPolicies = authorizationPolicies;
     HostName                       = hostName;
     EventHubEndpoints              = eventHubEndpoints;
     StorageEndpoints               = storageEndpoints;
     MessagingEndpoints             = messagingEndpoints;
     EnableFileUploadNotifications  = enableFileUploadNotifications;
     CloudToDevice                  = cloudToDevice;
     Comments                       = comments;
     OperationsMonitoringProperties = operationsMonitoringProperties;
     Features                       = features;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the IotHubProperties class.
 /// </summary>
 /// <param name="authorizationPolicies">The shared access policies you
 /// can use to secure a connection to the IoT hub.</param>
 /// <param name="ipFilterRules">The IP filter rules.</param>
 /// <param name="provisioningState">The provisioning state.</param>
 /// <param name="state">Thehub state state.</param>
 /// <param name="hostName">The name of the host.</param>
 /// <param name="eventHubEndpoints">The Event Hub-compatible endpoint
 /// properties. The possible keys to this dictionary are events and
 /// operationsMonitoringEvents. Both of these keys have to be present
 /// in the dictionary while making create or update calls for the IoT
 /// hub.</param>
 /// <param name="storageEndpoints">The list of Azure Storage endpoints
 /// where you can upload files. Currently you can configure only one
 /// Azure Storage account and that MUST have its key as $default.
 /// Specifying more than one storage account causes an error to be
 /// thrown. Not specifying a value for this property when the
 /// enableFileUploadNotifications property is set to True, causes an
 /// error to be thrown.</param>
 /// <param name="messagingEndpoints">The messaging endpoint properties
 /// for the file upload notification queue.</param>
 /// <param name="enableFileUploadNotifications">If True, file upload
 /// notifications are enabled.</param>
 /// <param name="comments">IoT hub comments.</param>
 /// <param name="deviceStreams">The device streams properties of
 /// iothub.</param>
 /// <param name="features">The capabilities and features enabled for
 /// the IoT hub. Possible values include: 'None',
 /// 'DeviceManagement'</param>
 public IotHubProperties(IList <SharedAccessSignatureAuthorizationRule> authorizationPolicies = default(IList <SharedAccessSignatureAuthorizationRule>), IList <IpFilterRule> ipFilterRules = default(IList <IpFilterRule>), string provisioningState = default(string), string state = default(string), string hostName = default(string), IDictionary <string, EventHubProperties> eventHubEndpoints = default(IDictionary <string, EventHubProperties>), RoutingProperties routing = default(RoutingProperties), IDictionary <string, StorageEndpointProperties> storageEndpoints = default(IDictionary <string, StorageEndpointProperties>), IDictionary <string, MessagingEndpointProperties> messagingEndpoints = default(IDictionary <string, MessagingEndpointProperties>), bool?enableFileUploadNotifications = default(bool?), CloudToDeviceProperties cloudToDevice = default(CloudToDeviceProperties), string comments = default(string), OperationsMonitoringProperties operationsMonitoringProperties = default(OperationsMonitoringProperties), IotHubPropertiesDeviceStreams deviceStreams = default(IotHubPropertiesDeviceStreams), string features = default(string))
 {
     AuthorizationPolicies = authorizationPolicies;
     IpFilterRules         = ipFilterRules;
     ProvisioningState     = provisioningState;
     State                          = state;
     HostName                       = hostName;
     EventHubEndpoints              = eventHubEndpoints;
     Routing                        = routing;
     StorageEndpoints               = storageEndpoints;
     MessagingEndpoints             = messagingEndpoints;
     EnableFileUploadNotifications  = enableFileUploadNotifications;
     CloudToDevice                  = cloudToDevice;
     Comments                       = comments;
     OperationsMonitoringProperties = operationsMonitoringProperties;
     DeviceStreams                  = deviceStreams;
     Features                       = features;
     CustomInit();
 }