Class IotDpsPropertiesDescription
java.lang.Object
com.azure.resourcemanager.deviceprovisioningservices.models.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the allocationPolicy property: Allocation policy to be used by this provisioning service.Get the authorizationPolicies property: List of authorization keys for a provisioning service.Get the deviceProvisioningHostname property: Device endpoint for this provisioning service.Get the enableDataResidency property: Optional.idScope()
Get the idScope property: Unique identifier of this provisioning service.iotHubs()
Get the iotHubs property: List of IoT hubs associated with this provisioning service.Get the ipFilterRules property: The IP filter rules.Get the privateEndpointConnections property: Private endpoint connections created on this IotHub.Get the provisioningState property: The ARM provisioning state of the provisioning service.Get the publicNetworkAccess property: Whether requests from Public Network are allowed.Get the serviceOperationsHostname property: Service endpoint for provisioning service.state()
Get the state property: Current state of the provisioning service.void
validate()
Validates the instance.withAllocationPolicy
(AllocationPolicy allocationPolicy) Set the allocationPolicy property: Allocation policy to be used by this provisioning service.withAuthorizationPolicies
(List<SharedAccessSignatureAuthorizationRuleInner> authorizationPolicies) Set the authorizationPolicies property: List of authorization keys for a provisioning service.withEnableDataResidency
(Boolean enableDataResidency) Set the enableDataResidency property: Optional.withIotHubs
(List<IotHubDefinitionDescription> iotHubs) Set the iotHubs property: List of IoT hubs associated with this provisioning service.withIpFilterRules
(List<IpFilterRule> ipFilterRules) Set the ipFilterRules property: The IP filter rules.withPrivateEndpointConnections
(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: Private endpoint connections created on this IotHub.withProvisioningState
(String provisioningState) Set the provisioningState property: The ARM provisioning state of the provisioning service.withPublicNetworkAccess
(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Whether requests from Public Network are allowed.Set the state property: Current state of the provisioning service.
-
Constructor Details
-
IotDpsPropertiesDescription
public IotDpsPropertiesDescription()
-
-
Method Details
-
state
Get the state property: Current state of the provisioning service.- Returns:
- the state value.
-
withState
Set the state property: Current state of the provisioning service.- Parameters:
state
- the state value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
publicNetworkAccess
Get the publicNetworkAccess property: Whether requests from Public Network are allowed.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
Set the publicNetworkAccess property: Whether requests from Public Network are allowed.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
ipFilterRules
Get the ipFilterRules property: The IP filter rules.- Returns:
- the ipFilterRules value.
-
withIpFilterRules
Set the ipFilterRules property: The IP filter rules.- Parameters:
ipFilterRules
- the ipFilterRules value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: Private endpoint connections created on this IotHub.- Returns:
- the privateEndpointConnections value.
-
withPrivateEndpointConnections
public IotDpsPropertiesDescription withPrivateEndpointConnections(List<PrivateEndpointConnectionInner> privateEndpointConnections) Set the privateEndpointConnections property: Private endpoint connections created on this IotHub.- Parameters:
privateEndpointConnections
- the privateEndpointConnections value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
provisioningState
Get the provisioningState property: The ARM provisioning state of the provisioning service.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: The ARM provisioning state of the provisioning service.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
iotHubs
Get the iotHubs property: List of IoT hubs associated with this provisioning service.- Returns:
- the iotHubs value.
-
withIotHubs
Set the iotHubs property: List of IoT hubs associated with this provisioning service.- Parameters:
iotHubs
- the iotHubs value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
allocationPolicy
Get the allocationPolicy property: Allocation policy to be used by this provisioning service.- Returns:
- the allocationPolicy value.
-
withAllocationPolicy
Set the allocationPolicy property: Allocation policy to be used by this provisioning service.- Parameters:
allocationPolicy
- the allocationPolicy value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
serviceOperationsHostname
Get the serviceOperationsHostname property: Service endpoint for provisioning service.- Returns:
- the serviceOperationsHostname value.
-
deviceProvisioningHostname
Get the deviceProvisioningHostname property: Device endpoint for this provisioning service.- Returns:
- the deviceProvisioningHostname value.
-
idScope
Get the idScope property: Unique identifier of this provisioning service.- Returns:
- the idScope value.
-
authorizationPolicies
Get the authorizationPolicies property: List of authorization keys for a provisioning service.- Returns:
- the authorizationPolicies value.
-
withAuthorizationPolicies
public IotDpsPropertiesDescription withAuthorizationPolicies(List<SharedAccessSignatureAuthorizationRuleInner> authorizationPolicies) Set the authorizationPolicies property: List of authorization keys for a provisioning service.- Parameters:
authorizationPolicies
- the authorizationPolicies value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
enableDataResidency
Get the enableDataResidency property: Optional. Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery.- Returns:
- the enableDataResidency value.
-
withEnableDataResidency
Set the enableDataResidency property: Optional. Indicates if the DPS instance has Data Residency enabled, removing the cross geo-pair disaster recovery.- Parameters:
enableDataResidency
- the enableDataResidency value to set.- Returns:
- the IotDpsPropertiesDescription object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-