Бөлісу құралы:


AppInner Class

public final class AppInner
extends Resource

The IoT Central application.

Constructor Summary

Constructor Description
AppInner()

Creates an instance of AppInner class.

Method Summary

Modifier and Type Method and Description
String applicationId()

Get the applicationId property: The ID of the application.

String displayName()

Get the displayName property: The display name of the application.

static AppInner fromJson(JsonReader jsonReader)

Reads an instance of AppInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

SystemAssignedServiceIdentity identity()

Get the identity property: The managed identities for the IoT Central application.

String name()

Get the name property: The name of the resource.

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.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

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.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

AppInner withDisplayName(String displayName)

Set the displayName property: The display name of the application.

AppInner withIdentity(SystemAssignedServiceIdentity identity)

Set the identity property: The managed identities for the IoT Central application.

AppInner withLocation(String location)
AppInner withNetworkRuleSets(NetworkRuleSets networkRuleSets)

Set the networkRuleSets property: Network Rule Set Properties of this IoT Central application.

AppInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Whether requests from the public network are allowed.

AppInner withSku(AppSkuInfo sku)

Set the sku property: A valid instance SKU.

AppInner withSubdomain(String subdomain)

Set the subdomain property: The subdomain of the application.

AppInner withTags(Map<String,String> tags)
AppInner 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.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

AppInner

public AppInner()

Creates an instance of AppInner class.

Method Details

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.

fromJson

public static AppInner fromJson(JsonReader jsonReader)

Reads an instance of AppInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AppInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

AppInner.id()

Returns:

the id value.

identity

public SystemAssignedServiceIdentity identity()

Get the identity property: The managed identities for the IoT Central application.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

AppInner.name()

Returns:

the name value.

networkRuleSets

public NetworkRuleSets networkRuleSets()

Get the networkRuleSets property: Network Rule Set Properties of this IoT Central application.

Returns:

the networkRuleSets value.

privateEndpointConnections

public List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: Private endpoint connections created on this IoT Central application.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the application.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether requests from the public network are allowed.

Returns:

the publicNetworkAccess value.

sku

public AppSkuInfo sku()

Get the sku property: A valid instance SKU.

Returns:

the sku value.

state

public AppState state()

Get the state property: The current state of the application.

Returns:

the state value.

subdomain

public String subdomain()

Get the subdomain property: The subdomain of the application.

Returns:

the subdomain value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

AppInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

AppInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDisplayName

public AppInner withDisplayName(String displayName)

Set the displayName property: The display name of the application.

Parameters:

displayName - the displayName value to set.

Returns:

the AppInner object itself.

withIdentity

public AppInner withIdentity(SystemAssignedServiceIdentity identity)

Set the identity property: The managed identities for the IoT Central application.

Parameters:

identity - the identity value to set.

Returns:

the AppInner object itself.

withLocation

public AppInner withLocation(String location)

Overrides:

AppInner.withLocation(String location)

Parameters:

location

withNetworkRuleSets

public AppInner 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 AppInner object itself.

withPublicNetworkAccess

public AppInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Whether requests from the public network are allowed.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the AppInner object itself.

withSku

public AppInner withSku(AppSkuInfo sku)

Set the sku property: A valid instance SKU.

Parameters:

sku - the sku value to set.

Returns:

the AppInner object itself.

withSubdomain

public AppInner withSubdomain(String subdomain)

Set the subdomain property: The subdomain of the application.

Parameters:

subdomain - the subdomain value to set.

Returns:

the AppInner object itself.

withTags

public AppInner withTags(Map<String,String> tags)

Overrides:

AppInner.withTags(Map<String,String> tags)

Parameters:

tags

withTemplate

public AppInner 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 AppInner object itself.

Applies to