SecretProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. AfdStateProperties - com.
azure. resourcemanager. cdn. fluent. models. SecretProperties
- com.
- com.
public final class SecretProperties
extends AfdStateProperties
The JSON object that contains the properties of the Secret to create.
Constructor Summary
| Constructor | Description |
|---|---|
| SecretProperties() |
Creates an instance of Secret |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Deployment |
deploymentStatus()
Get the deployment |
|
static
Secret |
fromJson(JsonReader jsonReader)
Reads an instance of Secret |
|
Secret |
parameters()
Get the parameters property: object which contains secret parameters. |
| String |
profileName()
Get the profile |
|
Afd |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Secret |
withParameters(SecretParameters parameters)
Set the parameters property: object which contains secret parameters. |
Methods inherited from AfdStateProperties
Methods inherited from java.lang.Object
Constructor Details
SecretProperties
public SecretProperties()
Creates an instance of SecretProperties class.
Method Details
deploymentStatus
public DeploymentStatus deploymentStatus()
Get the deploymentStatus property: The deploymentStatus property.
Overrides:
SecretProperties.deploymentStatus()Returns:
fromJson
public static SecretProperties fromJson(JsonReader jsonReader)
Reads an instance of SecretProperties from the JsonReader.
Parameters:
Returns:
Throws:
parameters
public SecretParameters parameters()
Get the parameters property: object which contains secret parameters.
Returns:
profileName
public String profileName()
Get the profileName property: The name of the profile which holds the secret.
Returns:
provisioningState
public AfdProvisioningState provisioningState()
Get the provisioningState property: Provisioning status.
Overrides:
SecretProperties.provisioningState()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SecretProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
SecretProperties.validate()withParameters
public SecretProperties withParameters(SecretParameters parameters)
Set the parameters property: object which contains secret parameters.
Parameters:
Returns: