Class NspAssociationInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.network.models.SecurityPerimeterResource
com.azure.resourcemanager.network.models.SecurityPerimeterProxyResource
com.azure.resourcemanager.network.fluent.models.NspAssociationInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
The NSP resource association resource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the accessMode property: Access mode on the association.static NspAssociationInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NspAssociationInner from the JsonReader.Get the hasProvisioningIssues property: Specifies if there are provisioning issues.id()Get the id property: Fully qualified resource Id for the resource.name()Get the name property: The name of the resource.com.azure.core.management.SubResourceGet the privateLinkResource property: The PaaS resource to be associated.com.azure.core.management.SubResourceprofile()Get the profile property: Profile id to which the PaaS resource is associated.Get the provisioningState property: The provisioning state of the resource association resource.Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.withAccessMode(AssociationAccessMode accessMode) Set the accessMode property: Access mode on the association.withPrivateLinkResource(com.azure.core.management.SubResource privateLinkResource) Set the privateLinkResource property: The PaaS resource to be associated.withProfile(com.azure.core.management.SubResource profile) Set the profile property: Profile id to which the PaaS resource is associated.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NspAssociationInner
public NspAssociationInner()Creates an instance of NspAssociationInner class.
-
-
Method Details
-
systemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Overrides:
systemDatain classSecurityPerimeterProxyResource- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classSecurityPerimeterProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classSecurityPerimeterProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classSecurityPerimeterProxyResource- Returns:
- the id value.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource association resource.- Returns:
- the provisioningState value.
-
privateLinkResource
public com.azure.core.management.SubResource privateLinkResource()Get the privateLinkResource property: The PaaS resource to be associated.- Returns:
- the privateLinkResource value.
-
withPrivateLinkResource
public NspAssociationInner withPrivateLinkResource(com.azure.core.management.SubResource privateLinkResource) Set the privateLinkResource property: The PaaS resource to be associated.- Parameters:
privateLinkResource- the privateLinkResource value to set.- Returns:
- the NspAssociationInner object itself.
-
profile
public com.azure.core.management.SubResource profile()Get the profile property: Profile id to which the PaaS resource is associated.- Returns:
- the profile value.
-
withProfile
Set the profile property: Profile id to which the PaaS resource is associated.- Parameters:
profile- the profile value to set.- Returns:
- the NspAssociationInner object itself.
-
accessMode
Get the accessMode property: Access mode on the association.- Returns:
- the accessMode value.
-
withAccessMode
Set the accessMode property: Access mode on the association.- Parameters:
accessMode- the accessMode value to set.- Returns:
- the NspAssociationInner object itself.
-
hasProvisioningIssues
Get the hasProvisioningIssues property: Specifies if there are provisioning issues.- Returns:
- the hasProvisioningIssues value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classSecurityPerimeterProxyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classSecurityPerimeterProxyResource- Throws:
IOException
-
fromJson
Reads an instance of NspAssociationInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NspAssociationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the NspAssociationInner.
-