ManagedClusterSecurityProfileDefenderSecurityGatingIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterSecurityProfileDefenderSecurityGatingIdentity
- com.
Implements
public final class ManagedClusterSecurityProfileDefenderSecurityGatingIdentity
implements JsonSerializable<ManagedClusterSecurityProfileDefenderSecurityGatingIdentity>
Identity mapping used by Defender security gating for registry access.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedClusterSecurityProfileDefenderSecurityGatingIdentity() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureContainerRegistry()
Get the azure |
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
|
User |
identity()
Get the identity property: The identity object used to access the registry. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withAzureContainerRegistry(String azureContainerRegistry)
Set the azure |
|
Managed |
withIdentity(UserAssignedIdentity identity)
Set the identity property: The identity object used to access the registry. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterSecurityProfileDefenderSecurityGatingIdentity
public ManagedClusterSecurityProfileDefenderSecurityGatingIdentity()
Creates an instance of ManagedClusterSecurityProfileDefenderSecurityGatingIdentity class.
Method Details
azureContainerRegistry
public String azureContainerRegistry()
Get the azureContainerRegistry property: The container registry for which the identity will be used; the identity specified here should have a federated identity credential attached to it.
Returns:
fromJson
public static ManagedClusterSecurityProfileDefenderSecurityGatingIdentity fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterSecurityProfileDefenderSecurityGatingIdentity from the JsonReader.
Parameters:
Returns:
Throws:
identity
public UserAssignedIdentity identity()
Get the identity property: The identity object used to access the registry.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureContainerRegistry
public ManagedClusterSecurityProfileDefenderSecurityGatingIdentity withAzureContainerRegistry(String azureContainerRegistry)
Set the azureContainerRegistry property: The container registry for which the identity will be used; the identity specified here should have a federated identity credential attached to it.
Parameters:
Returns:
withIdentity
public ManagedClusterSecurityProfileDefenderSecurityGatingIdentity withIdentity(UserAssignedIdentity identity)
Set the identity property: The identity object used to access the registry.
Parameters:
Returns: