コード例 #1
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="disableLocalAuth">If true, SAS tokens with Iot hub
 /// scoped SAS keys cannot be used for authentication.</param>
 /// <param name="disableDeviceSAS">If true, all device(including Edge
 /// devices but excluding modules) scoped SAS keys cannot be used for
 /// authentication.</param>
 /// <param name="disableModuleSAS">If true, all module scoped SAS keys
 /// cannot be used for authentication.</param>
 /// <param name="restrictOutboundNetworkAccess">If true, egress from
 /// IotHub will be restricted to only the allowed FQDNs that are
 /// configured via allowedFqdnList.</param>
 /// <param name="allowedFqdnList">List of allowed FQDNs(Fully Qualified
 /// Domain Name) for egress from Iot Hub.</param>
 /// <param name="publicNetworkAccess">Whether requests from Public
 /// Network are allowed. Possible values include: 'Enabled',
 /// 'Disabled'</param>
 /// <param name="ipFilterRules">The IP filter rules.</param>
 /// <param name="minTlsVersion">Specifies the minimum TLS version to
 /// support for this hub. Can be set to "1.2" to have clients that use
 /// a TLS version below 1.2 to be rejected.</param>
 /// <param name="privateEndpointConnections">Private endpoint
 /// connections created on this IotHub</param>
 /// <param name="provisioningState">The provisioning state.</param>
 /// <param name="state">The hub state.</param>
 /// <param name="hostName">The name of the host.</param>
 /// <param name="eventHubEndpoints">The Event Hub-compatible endpoint
 /// properties. The only possible keys to this dictionary is events.
 /// This key has 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="features">The capabilities and features enabled for
 /// the IoT hub. Possible values include: 'None',
 /// 'DeviceManagement'</param>
 /// <param name="locations">Primary and secondary location for iot
 /// hub</param>
 /// <param name="enableDataResidency">This property when set to true,
 /// will enable data residency, thus, disabling disaster
 /// recovery.</param>
 public IotHubProperties(IList <SharedAccessSignatureAuthorizationRule> authorizationPolicies = default(IList <SharedAccessSignatureAuthorizationRule>), bool?disableLocalAuth = default(bool?), bool?disableDeviceSAS = default(bool?), bool?disableModuleSAS = default(bool?), bool?restrictOutboundNetworkAccess = default(bool?), IList <string> allowedFqdnList = default(IList <string>), string publicNetworkAccess = default(string), IList <IpFilterRule> ipFilterRules = default(IList <IpFilterRule>), NetworkRuleSetProperties networkRuleSets = default(NetworkRuleSetProperties), string minTlsVersion = default(string), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), 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), string features = default(string), IList <IotHubLocationDescription> locations = default(IList <IotHubLocationDescription>), bool?enableDataResidency = default(bool?))
 {
     AuthorizationPolicies         = authorizationPolicies;
     DisableLocalAuth              = disableLocalAuth;
     DisableDeviceSAS              = disableDeviceSAS;
     DisableModuleSAS              = disableModuleSAS;
     RestrictOutboundNetworkAccess = restrictOutboundNetworkAccess;
     AllowedFqdnList            = allowedFqdnList;
     PublicNetworkAccess        = publicNetworkAccess;
     IpFilterRules              = ipFilterRules;
     NetworkRuleSets            = networkRuleSets;
     MinTlsVersion              = minTlsVersion;
     PrivateEndpointConnections = privateEndpointConnections;
     ProvisioningState          = provisioningState;
     State                         = state;
     HostName                      = hostName;
     EventHubEndpoints             = eventHubEndpoints;
     Routing                       = routing;
     StorageEndpoints              = storageEndpoints;
     MessagingEndpoints            = messagingEndpoints;
     EnableFileUploadNotifications = enableFileUploadNotifications;
     CloudToDevice                 = cloudToDevice;
     Comments                      = comments;
     Features                      = features;
     Locations                     = locations;
     EnableDataResidency           = enableDataResidency;
     CustomInit();
 }
コード例 #2
0
ファイル: IotHubProperties.cs プロジェクト: QITIE/ADLSTool
 /// <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;
 }
コード例 #3
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">The hub state.</param>
 /// <param name="hostName">The name of the host.</param>
 /// <param name="eventHubEndpoints">The Event Hub-compatible endpoint
 /// properties. The only possible keys to this dictionary is events.
 /// This key has 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), 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;
     DeviceStreams                 = deviceStreams;
     Features                      = features;
     CustomInit();
 }
コード例 #4
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="publicNetworkAccess">Whether requests from Public
 /// Network are allowed. Possible values include: 'Enabled',
 /// 'Disabled'</param>
 /// <param name="ipFilterRules">The IP filter rules.</param>
 /// <param name="minTlsVersion">Specifies the minimum TLS version to
 /// support for this hub. Can be set to "1.2" to have clients that use
 /// a TLS version below 1.2 to be rejected.</param>
 /// <param name="privateEndpointConnections">Private endpoint
 /// connections created on this IotHub</param>
 /// <param name="provisioningState">The provisioning state.</param>
 /// <param name="state">The hub state.</param>
 /// <param name="hostName">The name of the host.</param>
 /// <param name="eventHubEndpoints">The Event Hub-compatible endpoint
 /// properties. The only possible keys to this dictionary is events.
 /// This key has 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="features">The capabilities and features enabled for
 /// the IoT hub. Possible values include: 'None',
 /// 'DeviceManagement'</param>
 /// <param name="locations">Primary and secondary location for iot
 /// hub</param>
 public IotHubProperties(IList <SharedAccessSignatureAuthorizationRule> authorizationPolicies = default(IList <SharedAccessSignatureAuthorizationRule>), string publicNetworkAccess = default(string), IList <IpFilterRule> ipFilterRules = default(IList <IpFilterRule>), string minTlsVersion = default(string), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), 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), string features = default(string), IList <IotHubLocationDescription> locations = default(IList <IotHubLocationDescription>))
 {
     AuthorizationPolicies      = authorizationPolicies;
     PublicNetworkAccess        = publicNetworkAccess;
     IpFilterRules              = ipFilterRules;
     MinTlsVersion              = minTlsVersion;
     PrivateEndpointConnections = privateEndpointConnections;
     ProvisioningState          = provisioningState;
     State                         = state;
     HostName                      = hostName;
     EventHubEndpoints             = eventHubEndpoints;
     Routing                       = routing;
     StorageEndpoints              = storageEndpoints;
     MessagingEndpoints            = messagingEndpoints;
     EnableFileUploadNotifications = enableFileUploadNotifications;
     CloudToDevice                 = cloudToDevice;
     Comments                      = comments;
     Features                      = features;
     Locations                     = locations;
     CustomInit();
 }