StandardAssignmentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. StandardAssignmentInner
- com.
- com.
public final class StandardAssignmentInner
extends ProxyResource
Security Assignment on a resource group over a given scope.
Constructor Summary
| Constructor | Description |
|---|---|
| StandardAssignmentInner() |
Creates an instance of Standard |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Assigned |
assignedStandard()
Get the assigned |
|
Standard |
attestationData()
Get the attestation |
| String |
description()
Get the description property: Description of the standard |
| String |
displayName()
Get the display |
| Effect |
effect()
Get the effect property: Expected effect of this assignment (Audit/Exempt/Attest). |
| List<String> |
excludedScopes()
Get the excluded |
|
Standard |
exemptionData()
Get the exemption |
|
Offset |
expiresOn()
Get the expires |
|
static
Standard |
fromJson(JsonReader jsonReader)
Reads an instance of Standard |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Standard |
metadata()
Get the metadata property: The standard assignment metadata. |
| String |
name()
Get the name property: The name of the resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Standard |
withAssignedStandard(AssignedStandardItem assignedStandard)
Set the assigned |
|
Standard |
withAttestationData(StandardAssignmentPropertiesAttestationData attestationData)
Set the attestation |
|
Standard |
withDescription(String description)
Set the description property: Description of the standard |
|
Standard |
withDisplayName(String displayName)
Set the display |
|
Standard |
withEffect(Effect effect)
Set the effect property: Expected effect of this assignment (Audit/Exempt/Attest). |
|
Standard |
withExcludedScopes(List<String> excludedScopes)
Set the excluded |
|
Standard |
withExemptionData(StandardAssignmentPropertiesExemptionData exemptionData)
Set the exemption |
|
Standard |
withExpiresOn(OffsetDateTime expiresOn)
Set the expires |
|
Standard |
withMetadata(StandardAssignmentMetadata metadata)
Set the metadata property: The standard assignment metadata. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
StandardAssignmentInner
public StandardAssignmentInner()
Creates an instance of StandardAssignmentInner class.
Method Details
assignedStandard
public AssignedStandardItem assignedStandard()
Get the assignedStandard property: Standard item with key as applied to this standard assignment over the given scope.
Returns:
attestationData
public StandardAssignmentPropertiesAttestationData attestationData()
Get the attestationData property: Additional data about assignment that has Attest effect.
Returns:
description
public String description()
Get the description property: Description of the standardAssignment.
Returns:
displayName
public String displayName()
Get the displayName property: Display name of the standardAssignment.
Returns:
effect
public Effect effect()
Get the effect property: Expected effect of this assignment (Audit/Exempt/Attest).
Returns:
excludedScopes
public List<String> excludedScopes()
Get the excludedScopes property: Excluded scopes, filter out the descendants of the scope (on management scopes).
Returns:
exemptionData
public StandardAssignmentPropertiesExemptionData exemptionData()
Get the exemptionData property: Additional data about assignment that has Exempt effect.
Returns:
expiresOn
public OffsetDateTime expiresOn()
Get the expiresOn property: Expiration date of this assignment as a full ISO date.
Returns:
fromJson
public static StandardAssignmentInner fromJson(JsonReader jsonReader)
Reads an instance of StandardAssignmentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StandardAssignmentInner.id()Returns:
metadata
public StandardAssignmentMetadata metadata()
Get the metadata property: The standard assignment metadata.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StandardAssignmentInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StandardAssignmentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StandardAssignmentInner.type()Returns:
validate
public void validate()
Validates the instance.
withAssignedStandard
public StandardAssignmentInner withAssignedStandard(AssignedStandardItem assignedStandard)
Set the assignedStandard property: Standard item with key as applied to this standard assignment over the given scope.
Parameters:
Returns:
withAttestationData
public StandardAssignmentInner withAttestationData(StandardAssignmentPropertiesAttestationData attestationData)
Set the attestationData property: Additional data about assignment that has Attest effect.
Parameters:
Returns:
withDescription
public StandardAssignmentInner withDescription(String description)
Set the description property: Description of the standardAssignment.
Parameters:
Returns:
withDisplayName
public StandardAssignmentInner withDisplayName(String displayName)
Set the displayName property: Display name of the standardAssignment.
Parameters:
Returns:
withEffect
public StandardAssignmentInner withEffect(Effect effect)
Set the effect property: Expected effect of this assignment (Audit/Exempt/Attest).
Parameters:
Returns:
withExcludedScopes
public StandardAssignmentInner withExcludedScopes(List<String> excludedScopes)
Set the excludedScopes property: Excluded scopes, filter out the descendants of the scope (on management scopes).
Parameters:
Returns:
withExemptionData
public StandardAssignmentInner withExemptionData(StandardAssignmentPropertiesExemptionData exemptionData)
Set the exemptionData property: Additional data about assignment that has Exempt effect.
Parameters:
Returns:
withExpiresOn
public StandardAssignmentInner withExpiresOn(OffsetDateTime expiresOn)
Set the expiresOn property: Expiration date of this assignment as a full ISO date.
Parameters:
Returns:
withMetadata
public StandardAssignmentInner withMetadata(StandardAssignmentMetadata metadata)
Set the metadata property: The standard assignment metadata.
Parameters:
Returns: