IotDpsPropertiesDescription Class
- java.
lang. Object - com.
azure. resourcemanager. deviceprovisioningservices. models. IotDpsPropertiesDescription
- com.
Implements
public final class IotDpsPropertiesDescription
implements JsonSerializable<IotDpsPropertiesDescription>
the service specific properties of a provisioning service, including keys, linked iot hubs, current state, and system generated properties such as hostname and idScope.
Constructor Summary
| Constructor | Description |
|---|---|
| IotDpsPropertiesDescription() |
Creates an instance of Iot |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Allocation |
allocationPolicy()
Get the allocation |
|
List<Shared |
authorizationPolicies()
Get the authorization |
| String |
deviceProvisioningHostname()
Get the device |
| Boolean |
disableLocalAuth()
Get the disable |
| Boolean |
enableDataResidency()
Get the enable |
|
static
Iot |
fromJson(JsonReader jsonReader)
Reads an instance of Iot |
| String |
idScope()
Get the id |
|
List<Iot |
iotHubs()
Get the iot |
|
List<Ip |
ipFilterRules()
Get the ip |
| String |
portalOperationsHostName()
Get the portal |
|
List<Private |
privateEndpointConnections()
Get the private |
| String |
provisioningState()
Get the provisioning |
|
Public |
publicNetworkAccess()
Get the public |
| String |
serviceOperationsHostname()
Get the service |
| State |
state()
Get the state property: Current state of the provisioning service. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Iot |
withAllocationPolicy(AllocationPolicy allocationPolicy)
Set the allocation |
|
Iot |
withAuthorizationPolicies(List<SharedAccessSignatureAuthorizationRuleInner> authorizationPolicies)
Set the authorization |
|
Iot |
withDisableLocalAuth(Boolean disableLocalAuth)
Set the disable |
|
Iot |
withEnableDataResidency(Boolean enableDataResidency)
Set the enable |
|
Iot |
withIotHubs(List<IotHubDefinitionDescription> iotHubs)
Set the iot |
|
Iot |
withIpFilterRules(List<IpFilterRule> ipFilterRules)
Set the ip |
|
Iot |
withPortalOperationsHostName(String portalOperationsHostName)
Set the portal |
|
Iot |
withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)
Set the private |
|
Iot |
withProvisioningState(String provisioningState)
Set the provisioning |
|
Iot |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Iot |
withState(State state)
Set the state property: Current state of the provisioning service. |
Methods inherited from java.lang.Object
Constructor Details
IotDpsPropertiesDescription
public IotDpsPropertiesDescription()
Creates an instance of IotDpsPropertiesDescription class.
Method Details
allocationPolicy
public AllocationPolicy allocationPolicy()
Get the allocationPolicy property: Allocation policy to be used by this provisioning service.
Returns:
authorizationPolicies
public List<SharedAccessSignatureAuthorizationRuleInner> authorizationPolicies()
Get the authorizationPolicies property: List of authorization keys for a provisioning service.
Returns:
deviceProvisioningHostname
public String deviceProvisioningHostname()
Get the deviceProvisioningHostname property: Device endpoint for this provisioning service.
Returns:
disableLocalAuth
public Boolean disableLocalAuth()
Get the disableLocalAuth property: Disables all authentication methods other than Azure RBAC.
Returns:
enableDataResidency
public Boolean enableDataResidency()
Get the enableDataResidency property: Optional. Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery.
Returns:
fromJson
public static IotDpsPropertiesDescription fromJson(JsonReader jsonReader)
Reads an instance of IotDpsPropertiesDescription from the JsonReader.
Parameters:
Returns:
Throws:
idScope
public String idScope()
Get the idScope property: Unique identifier of this provisioning service.
Returns:
iotHubs
public List<IotHubDefinitionDescription> iotHubs()
Get the iotHubs property: List of IoT hubs associated with this provisioning service.
Returns:
ipFilterRules
public List<IpFilterRule> ipFilterRules()
Get the ipFilterRules property: The IP filter rules.
Returns:
portalOperationsHostName
public String portalOperationsHostName()
Get the portalOperationsHostName property: Portal endpoint to enable CORS for this provisioning service.
Returns:
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: Private endpoint connections created on this IotHub.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The ARM provisioning state of the provisioning service.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Whether requests from Public Network are allowed.
Returns:
serviceOperationsHostname
public String serviceOperationsHostname()
Get the serviceOperationsHostname property: Service endpoint for provisioning service.
Returns:
state
public State state()
Get the state property: Current state of the provisioning service.
Returns:
toJson
withAllocationPolicy
public IotDpsPropertiesDescription withAllocationPolicy(AllocationPolicy allocationPolicy)
Set the allocationPolicy property: Allocation policy to be used by this provisioning service.
Parameters:
Returns:
withAuthorizationPolicies
public IotDpsPropertiesDescription withAuthorizationPolicies(List<SharedAccessSignatureAuthorizationRuleInner> authorizationPolicies)
Set the authorizationPolicies property: List of authorization keys for a provisioning service.
Parameters:
Returns:
withDisableLocalAuth
public IotDpsPropertiesDescription withDisableLocalAuth(Boolean disableLocalAuth)
Set the disableLocalAuth property: Disables all authentication methods other than Azure RBAC.
Parameters:
Returns:
withEnableDataResidency
public IotDpsPropertiesDescription withEnableDataResidency(Boolean enableDataResidency)
Set the enableDataResidency property: Optional. Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery.
Parameters:
Returns:
withIotHubs
public IotDpsPropertiesDescription withIotHubs(List<IotHubDefinitionDescription> iotHubs)
Set the iotHubs property: List of IoT hubs associated with this provisioning service.
Parameters:
Returns:
withIpFilterRules
public IotDpsPropertiesDescription withIpFilterRules(List<IpFilterRule> ipFilterRules)
Set the ipFilterRules property: The IP filter rules.
Parameters:
Returns:
withPortalOperationsHostName
public IotDpsPropertiesDescription withPortalOperationsHostName(String portalOperationsHostName)
Set the portalOperationsHostName property: Portal endpoint to enable CORS for this provisioning service.
Parameters:
Returns:
withPrivateEndpointConnections
public IotDpsPropertiesDescription withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections)
Set the privateEndpointConnections property: Private endpoint connections created on this IotHub.
Parameters:
Returns:
withProvisioningState
public IotDpsPropertiesDescription withProvisioningState(String provisioningState)
Set the provisioningState property: The ARM provisioning state of the provisioning service.
Parameters:
Returns:
withPublicNetworkAccess
public IotDpsPropertiesDescription withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether requests from Public Network are allowed.
Parameters:
Returns:
withState
public IotDpsPropertiesDescription withState(State state)
Set the state property: Current state of the provisioning service.
Parameters:
Returns: