Class AzureProviderSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.cloudcredential.v1.AzureProviderSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AzureProviderSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,io.fabric8.kubernetes.api.model.Namespaced,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AzureProviderSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<AzureProviderSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, io.fabric8.kubernetes.api.model.Namespaced
AzureProviderSpec contains the required information to create RBAC role bindings for Azure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AzureProviderSpec()No args constructor for use in serializationAzureProviderSpec(String apiVersion, String azureClientID, String azureRegion, String azureSubscriptionID, String azureTenantID, List<String> dataPermissions, String kind, List<String> permissions, List<RoleBinding> roleBindings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AzureProviderSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetAzureClientID()The following fields are only required for Azure Workload Identity.StringgetAzureRegion()AzureRegion is the geographic region of the Azure service.StringgetAzureSubscriptionID()Each Azure subscription has an ID associated with it, as does the tenant to which a subscription belongs.StringgetAzureTenantID()AzureTenantID is the ID of the tenant to which the subscription belongs.List<String>getDataPermissions()DataPermissions is the list of Azure data permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest.StringgetKind()Kind is a string value representing the REST resource this object represents.List<String>getPermissions()Permissions is the list of Azure permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest.List<RoleBinding>getRoleBindings()RoleBindings contains a list of roles that should be associated with the minted credential.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApiVersion(String apiVersion)APIVersion defines the versioned schema of this representation of an object.voidsetAzureClientID(String azureClientID)The following fields are only required for Azure Workload Identity.voidsetAzureRegion(String azureRegion)AzureRegion is the geographic region of the Azure service.voidsetAzureSubscriptionID(String azureSubscriptionID)Each Azure subscription has an ID associated with it, as does the tenant to which a subscription belongs.voidsetAzureTenantID(String azureTenantID)AzureTenantID is the ID of the tenant to which the subscription belongs.voidsetDataPermissions(List<String> dataPermissions)DataPermissions is the list of Azure data permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest.voidsetKind(String kind)Kind is a string value representing the REST resource this object represents.voidsetPermissions(List<String> permissions)Permissions is the list of Azure permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest.voidsetRoleBindings(List<RoleBinding> roleBindings)RoleBindings contains a list of roles that should be associated with the minted credential.AzureProviderSpecBuildertoBuilder()
-
-
-
Method Detail
-
getApiVersion
public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
setApiVersion
public void setApiVersion(String apiVersion)
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
-
getAzureClientID
public String getAzureClientID()
The following fields are only required for Azure Workload Identity. AzureClientID is the ID of the specific application you created in Azure
-
setAzureClientID
public void setAzureClientID(String azureClientID)
The following fields are only required for Azure Workload Identity. AzureClientID is the ID of the specific application you created in Azure
-
getAzureRegion
public String getAzureRegion()
AzureRegion is the geographic region of the Azure service.
-
setAzureRegion
public void setAzureRegion(String azureRegion)
AzureRegion is the geographic region of the Azure service.
-
getAzureSubscriptionID
public String getAzureSubscriptionID()
Each Azure subscription has an ID associated with it, as does the tenant to which a subscription belongs. AzureSubscriptionID is the ID of the subscription.
-
setAzureSubscriptionID
public void setAzureSubscriptionID(String azureSubscriptionID)
Each Azure subscription has an ID associated with it, as does the tenant to which a subscription belongs. AzureSubscriptionID is the ID of the subscription.
-
getAzureTenantID
public String getAzureTenantID()
AzureTenantID is the ID of the tenant to which the subscription belongs.
-
setAzureTenantID
public void setAzureTenantID(String azureTenantID)
AzureTenantID is the ID of the tenant to which the subscription belongs.
-
getDataPermissions
public List<String> getDataPermissions()
DataPermissions is the list of Azure data permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest. The DataPermissions field may be provided in addition to RoleBindings. When both fields are specified, the user-assigned managed identity will have union of permissions defined from both DataPermissions and RoleBindings.
-
setDataPermissions
public void setDataPermissions(List<String> dataPermissions)
DataPermissions is the list of Azure data permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest. The DataPermissions field may be provided in addition to RoleBindings. When both fields are specified, the user-assigned managed identity will have union of permissions defined from both DataPermissions and RoleBindings.
-
getKind
public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
setKind
public void setKind(String kind)
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
-
getPermissions
public List<String> getPermissions()
Permissions is the list of Azure permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest. The Permissions field may be provided in addition to RoleBindings. When both fields are specified, the user-assigned managed identity will have union of permissions defined from both Permissions and RoleBindings.
-
setPermissions
public void setPermissions(List<String> permissions)
Permissions is the list of Azure permissions required to create a more fine-grained custom role to satisfy the CredentialsRequest. The Permissions field may be provided in addition to RoleBindings. When both fields are specified, the user-assigned managed identity will have union of permissions defined from both Permissions and RoleBindings.
-
getRoleBindings
public List<RoleBinding> getRoleBindings()
RoleBindings contains a list of roles that should be associated with the minted credential.
-
setRoleBindings
public void setRoleBindings(List<RoleBinding> roleBindings)
RoleBindings contains a list of roles that should be associated with the minted credential.
-
edit
public AzureProviderSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AzureProviderSpecBuilder>
-
toBuilder
public AzureProviderSpecBuilder toBuilder()
-
-