Class AppPatch
- java.lang.Object
-
- com.azure.resourcemanager.iotcentral.models.AppPatch
-
public final class AppPatch extends Object
The description of the IoT Central application.
-
-
Constructor Summary
Constructors Constructor Description AppPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
applicationId()
Get the applicationId property: The ID of the application.String
displayName()
Get the displayName property: The display name of the application.SystemAssignedServiceIdentity
identity()
Get the identity property: The managed identities for the IoT Central application.NetworkRuleSets
networkRuleSets()
Get the networkRuleSets property: Network Rule Set Properties of this IoT Central application.List<PrivateEndpointConnectionInner>
privateEndpointConnections()
Get the privateEndpointConnections property: Private endpoint connections created on this IoT Central application.ProvisioningState
provisioningState()
Get the provisioningState property: The provisioning state of the application.PublicNetworkAccess
publicNetworkAccess()
Get the publicNetworkAccess property: Whether requests from the public network are allowed.AppSkuInfo
sku()
Get the sku property: A valid instance SKU.AppState
state()
Get the state property: The current state of the application.String
subdomain()
Get the subdomain property: The subdomain of the application.Map<String,String>
tags()
Get the tags property: Instance tags.String
template()
Get the template property: The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application.void
validate()
Validates the instance.AppPatch
withDisplayName(String displayName)
Set the displayName property: The display name of the application.AppPatch
withIdentity(SystemAssignedServiceIdentity identity)
Set the identity property: The managed identities for the IoT Central application.AppPatch
withNetworkRuleSets(NetworkRuleSets networkRuleSets)
Set the networkRuleSets property: Network Rule Set Properties of this IoT Central application.AppPatch
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether requests from the public network are allowed.AppPatch
withSku(AppSkuInfo sku)
Set the sku property: A valid instance SKU.AppPatch
withSubdomain(String subdomain)
Set the subdomain property: The subdomain of the application.AppPatch
withTags(Map<String,String> tags)
Set the tags property: Instance tags.AppPatch
withTemplate(String template)
Set the template property: The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: Instance tags.- Returns:
- the tags value.
-
withTags
public AppPatch withTags(Map<String,String> tags)
Set the tags property: Instance tags.- Parameters:
tags
- the tags value to set.- Returns:
- the AppPatch object itself.
-
sku
public AppSkuInfo sku()
Get the sku property: A valid instance SKU.- Returns:
- the sku value.
-
withSku
public AppPatch withSku(AppSkuInfo sku)
Set the sku property: A valid instance SKU.- Parameters:
sku
- the sku value to set.- Returns:
- the AppPatch object itself.
-
identity
public SystemAssignedServiceIdentity identity()
Get the identity property: The managed identities for the IoT Central application.- Returns:
- the identity value.
-
withIdentity
public AppPatch withIdentity(SystemAssignedServiceIdentity identity)
Set the identity property: The managed identities for the IoT Central application.- Parameters:
identity
- the identity value to set.- Returns:
- the AppPatch object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the application.- Returns:
- the provisioningState value.
-
applicationId
public String applicationId()
Get the applicationId property: The ID of the application.- Returns:
- the applicationId value.
-
displayName
public String displayName()
Get the displayName property: The display name of the application.- Returns:
- the displayName value.
-
withDisplayName
public AppPatch withDisplayName(String displayName)
Set the displayName property: The display name of the application.- Parameters:
displayName
- the displayName value to set.- Returns:
- the AppPatch object itself.
-
subdomain
public String subdomain()
Get the subdomain property: The subdomain of the application.- Returns:
- the subdomain value.
-
withSubdomain
public AppPatch withSubdomain(String subdomain)
Set the subdomain property: The subdomain of the application.- Parameters:
subdomain
- the subdomain value to set.- Returns:
- the AppPatch object itself.
-
template
public String template()
Get the template property: The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.- Returns:
- the template value.
-
withTemplate
public AppPatch withTemplate(String template)
Set the template property: The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.- Parameters:
template
- the template value to set.- Returns:
- the AppPatch object itself.
-
state
public AppState state()
Get the state property: The current state of the application.- Returns:
- the state value.
-
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Whether requests from the public network are allowed.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public AppPatch withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether requests from the public network are allowed.- Parameters:
publicNetworkAccess
- the publicNetworkAccess value to set.- Returns:
- the AppPatch object itself.
-
networkRuleSets
public NetworkRuleSets networkRuleSets()
Get the networkRuleSets property: Network Rule Set Properties of this IoT Central application.- Returns:
- the networkRuleSets value.
-
withNetworkRuleSets
public AppPatch withNetworkRuleSets(NetworkRuleSets networkRuleSets)
Set the networkRuleSets property: Network Rule Set Properties of this IoT Central application.- Parameters:
networkRuleSets
- the networkRuleSets value to set.- Returns:
- the AppPatch object itself.
-
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: Private endpoint connections created on this IoT Central application.- Returns:
- the privateEndpointConnections value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-