ArmDeviceProvisioningServicesModelFactory.DeviceProvisioningServiceProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DeviceProvisioningServiceProperties.
public static Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServiceProperties DeviceProvisioningServiceProperties (Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesState? state = default, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesPublicNetworkAccess? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesIPFilterRule> ipFilterRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesPrivateEndpointConnectionData> privateEndpointConnections = default, string provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceProvisioningServices.Models.IotHubDefinitionDescription> iotHubs = default, Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesAllocationPolicy? allocationPolicy = default, string serviceOperationsHostName = default, string deviceProvisioningHostName = default, string idScope = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSharedAccessKey> authorizationPolicies = default, bool? isDataResidencyEnabled = default);
static member DeviceProvisioningServiceProperties : Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesState> * Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesPublicNetworkAccess> * seq<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesIPFilterRule> * seq<Azure.ResourceManager.DeviceProvisioningServices.DeviceProvisioningServicesPrivateEndpointConnectionData> * string * seq<Azure.ResourceManager.DeviceProvisioningServices.Models.IotHubDefinitionDescription> * Nullable<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesAllocationPolicy> * string * string * string * seq<Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServicesSharedAccessKey> * Nullable<bool> -> Azure.ResourceManager.DeviceProvisioningServices.Models.DeviceProvisioningServiceProperties
Public Shared Function DeviceProvisioningServiceProperties (Optional state As Nullable(Of DeviceProvisioningServicesState) = Nothing, Optional publicNetworkAccess As Nullable(Of DeviceProvisioningServicesPublicNetworkAccess) = Nothing, Optional ipFilterRules As IEnumerable(Of DeviceProvisioningServicesIPFilterRule) = Nothing, Optional privateEndpointConnections As IEnumerable(Of DeviceProvisioningServicesPrivateEndpointConnectionData) = Nothing, Optional provisioningState As String = Nothing, Optional iotHubs As IEnumerable(Of IotHubDefinitionDescription) = Nothing, Optional allocationPolicy As Nullable(Of DeviceProvisioningServicesAllocationPolicy) = Nothing, Optional serviceOperationsHostName As String = Nothing, Optional deviceProvisioningHostName As String = Nothing, Optional idScope As String = Nothing, Optional authorizationPolicies As IEnumerable(Of DeviceProvisioningServicesSharedAccessKey) = Nothing, Optional isDataResidencyEnabled As Nullable(Of Boolean) = Nothing) As DeviceProvisioningServiceProperties
Parameters
Current state of the provisioning service.
- publicNetworkAccess
- Nullable<DeviceProvisioningServicesPublicNetworkAccess>
Whether requests from Public Network are allowed.
- ipFilterRules
- IEnumerable<DeviceProvisioningServicesIPFilterRule>
The IP filter rules.
- privateEndpointConnections
- IEnumerable<DeviceProvisioningServicesPrivateEndpointConnectionData>
Private endpoint connections created on this IotHub.
- provisioningState
- String
The ARM provisioning state of the provisioning service.
- iotHubs
- IEnumerable<IotHubDefinitionDescription>
List of IoT hubs associated with this provisioning service.
- allocationPolicy
- Nullable<DeviceProvisioningServicesAllocationPolicy>
Allocation policy to be used by this provisioning service.
- serviceOperationsHostName
- String
Service endpoint for provisioning service.
- deviceProvisioningHostName
- String
Device endpoint for this provisioning service.
- idScope
- String
Unique identifier of this provisioning service.
- authorizationPolicies
- IEnumerable<DeviceProvisioningServicesSharedAccessKey>
List of authorization keys for a provisioning service.
Optional. Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery.
Returns
A new DeviceProvisioningServiceProperties instance for mocking.
Applies to
Azure SDK for .NET