ManagedHsmKeyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. keyvault. models. ProxyResourceWithoutSystemData - com.
azure. resourcemanager. keyvault. fluent. models. ManagedHsmKeyInner
- com.
- com.
- com.
public final class ManagedHsmKeyInner
extends ProxyResourceWithoutSystemData
The key resource.
Constructor Summary
Constructor | Description |
---|---|
ManagedHsmKeyInner() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Managed |
attributes()
Get the attributes property: The attributes of the key. |
Json |
curveName()
Get the curve |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
List<Json |
keyOps()
Get the key |
Integer |
keySize()
Get the key |
String |
keyUri()
Get the key |
String |
keyUriWithVersion()
Get the key |
Json |
kty()
Get the kty property: The type of the key. |
String |
name()
Get the name property: The name of the resource. |
Managed |
releasePolicy()
Get the release |
Managed |
rotationPolicy()
Get the rotation |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Managed |
withAttributes(ManagedHsmKeyAttributes attributes)
Set the attributes property: The attributes of the key. |
Managed |
withCurveName(JsonWebKeyCurveName curveName)
Set the curve |
Managed |
withKeyOps(List<JsonWebKeyOperation> keyOps)
Set the key |
Managed |
withKeySize(Integer keySize)
Set the key |
Managed |
withKty(JsonWebKeyType kty)
Set the kty property: The type of the key. |
Managed |
withReleasePolicy(ManagedHsmKeyReleasePolicy releasePolicy)
Set the release |
Managed |
withRotationPolicy(ManagedHsmRotationPolicy rotationPolicy)
Set the rotation |
Managed |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from ProxyResourceWithoutSystemData
Methods inherited from java.lang.Object
Constructor Details
ManagedHsmKeyInner
public ManagedHsmKeyInner()
Creates an instance of ManagedHsmKeyInner class.
Method Details
attributes
public ManagedHsmKeyAttributes attributes()
Get the attributes property: The attributes of the key.
Returns:
curveName
public JsonWebKeyCurveName curveName()
Get the curveName property: The elliptic curve name. For valid values, see JsonWebKeyCurveName.
Returns:
fromJson
public static ManagedHsmKeyInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedHsmKeyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedHsmKeyInner.id()Returns:
keyOps
public List
Get the keyOps property: The keyOps property.
Returns:
keySize
public Integer keySize()
Get the keySize property: The key size in bits. For example: 2048, 3072, or 4096 for RSA.
Returns:
keyUri
public String keyUri()
Get the keyUri property: The URI to retrieve the current version of the key.
Returns:
keyUriWithVersion
public String keyUriWithVersion()
Get the keyUriWithVersion property: The URI to retrieve the specific version of the key.
Returns:
kty
public JsonWebKeyType kty()
Get the kty property: The type of the key. For valid values, see JsonWebKeyType.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagedHsmKeyInner.name()Returns:
releasePolicy
public ManagedHsmKeyReleasePolicy releasePolicy()
Get the releasePolicy property: Key release policy in response. It will be used for both output and input. Omitted if empty.
Returns:
rotationPolicy
public ManagedHsmRotationPolicy rotationPolicy()
Get the rotationPolicy property: Key rotation policy in response. It will be used for both output and input. Omitted if empty.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedHsmKeyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedHsmKeyInner.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
ManagedHsmKeyInner.validate()withAttributes
public ManagedHsmKeyInner withAttributes(ManagedHsmKeyAttributes attributes)
Set the attributes property: The attributes of the key.
Parameters:
Returns:
withCurveName
public ManagedHsmKeyInner withCurveName(JsonWebKeyCurveName curveName)
Set the curveName property: The elliptic curve name. For valid values, see JsonWebKeyCurveName.
Parameters:
Returns:
withKeyOps
public ManagedHsmKeyInner withKeyOps(List
Set the keyOps property: The keyOps property.
Parameters:
Returns:
withKeySize
public ManagedHsmKeyInner withKeySize(Integer keySize)
Set the keySize property: The key size in bits. For example: 2048, 3072, or 4096 for RSA.
Parameters:
Returns:
withKty
public ManagedHsmKeyInner withKty(JsonWebKeyType kty)
Set the kty property: The type of the key. For valid values, see JsonWebKeyType.
Parameters:
Returns:
withReleasePolicy
public ManagedHsmKeyInner withReleasePolicy(ManagedHsmKeyReleasePolicy releasePolicy)
Set the releasePolicy property: Key release policy in response. It will be used for both output and input. Omitted if empty.
Parameters:
Returns:
withRotationPolicy
public ManagedHsmKeyInner withRotationPolicy(ManagedHsmRotationPolicy rotationPolicy)
Set the rotationPolicy property: Key rotation policy in response. It will be used for both output and input. Omitted if empty.
Parameters:
Returns:
withTags
public ManagedHsmKeyInner withTags(Map
Set the tags property: Resource tags.
Overrides:
ManagedHsmKeyInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java