ServerTrustCertificateInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ServerTrustCertificateInner
- com.
- com.
public final class ServerTrustCertificateInner
extends ProxyResource
Server trust certificate imported from box to enable connection between box and Sql Managed Instance.
Constructor Summary
Constructor | Description |
---|---|
ServerTrustCertificateInner() |
Creates an instance of Server |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
certificateName()
Get the certificate |
static
Server |
fromJson(JsonReader jsonReader)
Reads an instance of Server |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
publicBlob()
Get the public |
String |
thumbprint()
Get the thumbprint property: The certificate thumbprint. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Server |
withPublicBlob(String publicBlob)
Set the public |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ServerTrustCertificateInner
public ServerTrustCertificateInner()
Creates an instance of ServerTrustCertificateInner class.
Method Details
certificateName
public String certificateName()
Get the certificateName property: The certificate name.
Returns:
fromJson
public static ServerTrustCertificateInner fromJson(JsonReader jsonReader)
Reads an instance of ServerTrustCertificateInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ServerTrustCertificateInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ServerTrustCertificateInner.name()Returns:
publicBlob
public String publicBlob()
Get the publicBlob property: The certificate public blob.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: The certificate thumbprint.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ServerTrustCertificateInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ServerTrustCertificateInner.type()Returns:
validate
public void validate()
Validates the instance.
withPublicBlob
public ServerTrustCertificateInner withPublicBlob(String publicBlob)
Set the publicBlob property: The certificate public blob.
Parameters:
Returns:
Applies to
Azure SDK for Java