Documentation ¶
Index ¶
- type APIProfile
- type ActionType
- type ClaimProfile
- type ClientFactory
- type ClusterPatchSpec
- type ClusterSpec
- type ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties
- type ConsoleProfile
- type CreatedByType
- type DNSProfile
- type Effect
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type ExternalAuthClaimProfile
- type ExternalAuthClientComponentProfile
- type ExternalAuthClientProfile
- type ExternalAuthConfigProfile
- type ExternalAuthProfile
- type HcpClusterVersionsClient
- type HcpClusterVersionsClientListOptions
- type HcpClusterVersionsClientListResponse
- type HcpOpenShiftClusterCredentials
- type HcpOpenShiftClusterKubeconfig
- type HcpOpenShiftClusterNodePoolPatch
- type HcpOpenShiftClusterNodePoolResource
- type HcpOpenShiftClusterNodePoolResourceListResult
- type HcpOpenShiftClusterPatch
- type HcpOpenShiftClusterPatchProperties
- type HcpOpenShiftClusterProperties
- type HcpOpenShiftClusterResource
- type HcpOpenShiftClusterResourceListResult
- type HcpOpenShiftClustersClient
- func (client *HcpOpenShiftClustersClient) AdminCredentials(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (HcpOpenShiftClustersClientAdminCredentialsResponse, error)
- func (client *HcpOpenShiftClustersClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (*runtime.Poller[HcpOpenShiftClustersClientCreateOrUpdateResponse], error)
- func (client *HcpOpenShiftClustersClient) BeginDelete(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (*runtime.Poller[HcpOpenShiftClustersClientDeleteResponse], error)
- func (client *HcpOpenShiftClustersClient) BeginUpdate(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (*runtime.Poller[HcpOpenShiftClustersClientUpdateResponse], error)
- func (client *HcpOpenShiftClustersClient) Get(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (HcpOpenShiftClustersClientGetResponse, error)
- func (client *HcpOpenShiftClustersClient) KubeConfig(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (HcpOpenShiftClustersClientKubeConfigResponse, error)
- func (client *HcpOpenShiftClustersClient) NewListByResourceGroupPager(resourceGroupName string, ...) *runtime.Pager[HcpOpenShiftClustersClientListByResourceGroupResponse]
- func (client *HcpOpenShiftClustersClient) NewListBySubscriptionPager(options *HcpOpenShiftClustersClientListBySubscriptionOptions) *runtime.Pager[HcpOpenShiftClustersClientListBySubscriptionResponse]
- type HcpOpenShiftClustersClientAdminCredentialsOptions
- type HcpOpenShiftClustersClientAdminCredentialsResponse
- type HcpOpenShiftClustersClientBeginCreateOrUpdateOptions
- type HcpOpenShiftClustersClientBeginDeleteOptions
- type HcpOpenShiftClustersClientBeginUpdateOptions
- type HcpOpenShiftClustersClientCreateOrUpdateResponse
- type HcpOpenShiftClustersClientDeleteResponse
- type HcpOpenShiftClustersClientGetOptions
- type HcpOpenShiftClustersClientGetResponse
- type HcpOpenShiftClustersClientKubeConfigOptions
- type HcpOpenShiftClustersClientKubeConfigResponse
- type HcpOpenShiftClustersClientListByResourceGroupOptions
- type HcpOpenShiftClustersClientListByResourceGroupResponse
- type HcpOpenShiftClustersClientListBySubscriptionOptions
- type HcpOpenShiftClustersClientListBySubscriptionResponse
- type HcpOpenShiftClustersClientUpdateResponse
- type HcpOpenShiftVersionResource
- type HcpOpenShiftVersionResourceListResult
- type HcpOpenShiftVersionsProperties
- type Label
- type ManagedServiceIdentity
- type ManagedServiceIdentityType
- type ManagedServiceIdentityUpdate
- type NetworkProfile
- type NetworkType
- type NodePoolAutoScaling
- type NodePoolPatchProperties
- type NodePoolPatchSpec
- type NodePoolPlatformProfile
- type NodePoolProperties
- type NodePoolSpec
- type NodePoolsClient
- func (client *NodePoolsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (*runtime.Poller[NodePoolsClientCreateOrUpdateResponse], error)
- func (client *NodePoolsClient) BeginDelete(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (*runtime.Poller[NodePoolsClientDeleteResponse], error)
- func (client *NodePoolsClient) BeginUpdate(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (*runtime.Poller[NodePoolsClientUpdateResponse], error)
- func (client *NodePoolsClient) Get(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, ...) (NodePoolsClientGetResponse, error)
- func (client *NodePoolsClient) NewListByParentPager(resourceGroupName string, hcpOpenShiftClusterName string, ...) *runtime.Pager[NodePoolsClientListByParentResponse]
- type NodePoolsClientBeginCreateOrUpdateOptions
- type NodePoolsClientBeginDeleteOptions
- type NodePoolsClientBeginUpdateOptions
- type NodePoolsClientCreateOrUpdateResponse
- type NodePoolsClientDeleteResponse
- type NodePoolsClientGetOptions
- type NodePoolsClientGetResponse
- type NodePoolsClientListByParentOptions
- type NodePoolsClientListByParentResponse
- type NodePoolsClientUpdateResponse
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- type OperationsClientListOptions
- type OperationsClientListResponse
- type Origin
- type OutboundType
- type PlatformProfile
- type ProvisioningState
- type ProxyProfile
- type ProxyResource
- type Resource
- type ResourceProvisioningState
- type SystemData
- type Taint
- type TokenClaimMappingsProfile
- type TokenClaimValidationRuleProfile
- type TokenIssuerProfile
- type TrackedResource
- type UserAssignedIdentity
- type VersionProfile
- type Visibility
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIProfile ¶
type APIProfile struct { // REQUIRED; should the API server be accessible from the internet Visibility *Visibility // READ-ONLY; URL endpoint for the API server URL *string }
APIProfile - Information about the API of a cluster.
func (APIProfile) MarshalJSON ¶
func (a APIProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type APIProfile.
func (*APIProfile) UnmarshalJSON ¶
func (a *APIProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type APIProfile.
type ActionType ¶
type ActionType string
ActionType - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
const (
ActionTypeInternal ActionType = "Internal"
)
func PossibleActionTypeValues ¶
func PossibleActionTypeValues() []ActionType
PossibleActionTypeValues returns the possible values for the ActionType const type.
type ClaimProfile ¶
type ClaimProfile struct { // REQUIRED; Claim name of the external profile Claim *string // REQUIRED; Prefix for the claim external profile Prefix *string // REQUIRED; Prefix policy PrefixPolicy *string }
ClaimProfile - External auth claim profile
func (ClaimProfile) MarshalJSON ¶
func (c ClaimProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ClaimProfile.
func (*ClaimProfile) UnmarshalJSON ¶
func (c *ClaimProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ClaimProfile.
type ClientFactory ¶
type ClientFactory struct {
// contains filtered or unexported fields
}
ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.
func NewClientFactory ¶
func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)
NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.
- subscriptionID - The ID of the target subscription. The value must be an UUID.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*ClientFactory) NewHcpClusterVersionsClient ¶
func (c *ClientFactory) NewHcpClusterVersionsClient() *HcpClusterVersionsClient
NewHcpClusterVersionsClient creates a new instance of HcpClusterVersionsClient.
func (*ClientFactory) NewHcpOpenShiftClustersClient ¶
func (c *ClientFactory) NewHcpOpenShiftClustersClient() *HcpOpenShiftClustersClient
NewHcpOpenShiftClustersClient creates a new instance of HcpOpenShiftClustersClient.
func (*ClientFactory) NewNodePoolsClient ¶
func (c *ClientFactory) NewNodePoolsClient() *NodePoolsClient
NewNodePoolsClient creates a new instance of NodePoolsClient.
func (*ClientFactory) NewOperationsClient ¶
func (c *ClientFactory) NewOperationsClient() *OperationsClient
NewOperationsClient creates a new instance of OperationsClient.
type ClusterPatchSpec ¶
type ClusterPatchSpec struct { // Disable user workload monitoring DisableUserWorkloadMonitoring *bool // Openshift cluster proxy configuration Proxy *ProxyProfile }
ClusterPatchSpec - The patchable cluster specification
func (ClusterPatchSpec) MarshalJSON ¶
func (c ClusterPatchSpec) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ClusterPatchSpec.
func (*ClusterPatchSpec) UnmarshalJSON ¶
func (c *ClusterPatchSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ClusterPatchSpec.
type ClusterSpec ¶
type ClusterSpec struct { // REQUIRED; Version of the control plane components Version *VersionProfile // READ-ONLY; URL for the OIDC provider to be used for authentication to authenticate against user Azure cloud account IssuerURL *string // Cluster DNS configuration DNS *DNSProfile // Disable user workload monitoring DisableUserWorkloadMonitoring *bool // Enables customer ETCD encryption, set during creation When set to true, platform.etcdEncryptionSetId must be set EtcdEncryption *bool // Configuration to override the openshift-oauth-apiserver inside cluster This changes user login into the cluster to external // provider ExternalAuth *ExternalAuthConfigProfile // Enable FIPS mode for the cluster When set to true, etcdEncryption must be set to true Fips *bool // Cluster network configuration Network *NetworkProfile // Azure platform configuration Platform *PlatformProfile // Openshift cluster proxy configuration Proxy *ProxyProfile // READ-ONLY; Shows the cluster API server profile API *APIProfile // READ-ONLY; Shows the cluster web console information Console *ConsoleProfile }
ClusterSpec - The cluster resource specification
func (ClusterSpec) MarshalJSON ¶
func (c ClusterSpec) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ClusterSpec.
func (*ClusterSpec) UnmarshalJSON ¶
func (c *ClusterSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ClusterSpec.
type ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties ¶
type ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties struct { // READ-ONLY; The client ID of the assigned identity. ClientID *string // READ-ONLY; The principal ID of the assigned identity. PrincipalID *string }
func (ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties) MarshalJSON ¶
func (c ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.
func (*ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties) UnmarshalJSON ¶
func (c *ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties.
type ConsoleProfile ¶
type ConsoleProfile struct { // READ-ONLY; The cluster web console URL endpoint URL *string }
ConsoleProfile - Configuration of the cluster web console
func (ConsoleProfile) MarshalJSON ¶
func (c ConsoleProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConsoleProfile.
func (*ConsoleProfile) UnmarshalJSON ¶
func (c *ConsoleProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ConsoleProfile.
type CreatedByType ¶
type CreatedByType string
CreatedByType - The type of identity that created the resource.
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
type DNSProfile ¶
type DNSProfile struct { // BaseDomainPrefix is the unique name of the cluster representing the OpenShift's cluster name. BaseDomainPrefix is the name // that will appear in the cluster's DNS, provisioned cloud providers resources BaseDomainPrefix *string // READ-ONLY; BaseDomain is the base DNS domain of the cluster. BaseDomain *string }
DNSProfile - DNS contains the DNS settings of the cluster
func (DNSProfile) MarshalJSON ¶
func (d DNSProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DNSProfile.
func (*DNSProfile) UnmarshalJSON ¶
func (d *DNSProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DNSProfile.
type Effect ¶
type Effect string
Effect - The taint effect the same as in K8s
func PossibleEffectValues ¶
func PossibleEffectValues() []Effect
PossibleEffectValues returns the possible values for the Effect const type.
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // READ-ONLY; The additional info. Info any // READ-ONLY; The additional info type. Type *string }
ErrorAdditionalInfo - The resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (e ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorAdditionalInfo.
func (*ErrorAdditionalInfo) UnmarshalJSON ¶
func (e *ErrorAdditionalInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorAdditionalInfo.
type ErrorDetail ¶
type ErrorDetail struct { // READ-ONLY; The error additional info. AdditionalInfo []*ErrorAdditionalInfo // READ-ONLY; The error code. Code *string // READ-ONLY; The error details. Details []*ErrorDetail // READ-ONLY; The error message. Message *string // READ-ONLY; The error target. Target *string }
ErrorDetail - The error detail.
func (ErrorDetail) MarshalJSON ¶
func (e ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorDetail.
func (*ErrorDetail) UnmarshalJSON ¶
func (e *ErrorDetail) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorDetail.
type ErrorResponse ¶
type ErrorResponse struct { // The error object. Error *ErrorDetail }
ErrorResponse - Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
func (ErrorResponse) MarshalJSON ¶
func (e ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ErrorResponse.
func (*ErrorResponse) UnmarshalJSON ¶
func (e *ErrorResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ErrorResponse.
type ExternalAuthClaimProfile ¶
type ExternalAuthClaimProfile struct { // REQUIRED; The claim mappings Mappings *TokenClaimMappingsProfile // REQUIRED; The claim validation rules ValidationRules []*TokenClaimValidationRuleProfile }
ExternalAuthClaimProfile - External auth claim profile
func (ExternalAuthClaimProfile) MarshalJSON ¶
func (e ExternalAuthClaimProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ExternalAuthClaimProfile.
func (*ExternalAuthClaimProfile) UnmarshalJSON ¶
func (e *ExternalAuthClaimProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ExternalAuthClaimProfile.
type ExternalAuthClientComponentProfile ¶
type ExternalAuthClientComponentProfile struct { // REQUIRED; The namespace of the external auth client AuthClientNamespace *string // REQUIRED; The name of the external auth client Name *string }
ExternalAuthClientComponentProfile - External auth component profile
func (ExternalAuthClientComponentProfile) MarshalJSON ¶
func (e ExternalAuthClientComponentProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ExternalAuthClientComponentProfile.
func (*ExternalAuthClientComponentProfile) UnmarshalJSON ¶
func (e *ExternalAuthClientComponentProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ExternalAuthClientComponentProfile.
type ExternalAuthClientProfile ¶
type ExternalAuthClientProfile struct { // REQUIRED; External auth client component Component *ExternalAuthClientComponentProfile // REQUIRED; external auth client scopes ExtraScopes []*string // REQUIRED; external auth client id ID *string // REQUIRED; external auth client secret Secret *string }
ExternalAuthClientProfile - External auth client profile
func (ExternalAuthClientProfile) MarshalJSON ¶
func (e ExternalAuthClientProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ExternalAuthClientProfile.
func (*ExternalAuthClientProfile) UnmarshalJSON ¶
func (e *ExternalAuthClientProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ExternalAuthClientProfile.
type ExternalAuthConfigProfile ¶
type ExternalAuthConfigProfile struct { // READ-ONLY; This can only be set as a day-2 resource on a separate endpoint to provide a self-managed auth service ExternalAuths []*ExternalAuthProfile // This can be set during cluster creation only to ensure there is no openshift-oauth-apiserver in cluster Enabled *bool }
ExternalAuthConfigProfile - External authentication configuration profile
func (ExternalAuthConfigProfile) MarshalJSON ¶
func (e ExternalAuthConfigProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ExternalAuthConfigProfile.
func (*ExternalAuthConfigProfile) UnmarshalJSON ¶
func (e *ExternalAuthConfigProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ExternalAuthConfigProfile.
type ExternalAuthProfile ¶
type ExternalAuthProfile struct { // REQUIRED; External auth claim Claim *ExternalAuthClaimProfile // REQUIRED; External auth clients Clients []*ExternalAuthClientProfile // REQUIRED; Token Issuer profile Issuer *TokenIssuerProfile }
ExternalAuthProfile - External authentication profile
func (ExternalAuthProfile) MarshalJSON ¶
func (e ExternalAuthProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ExternalAuthProfile.
func (*ExternalAuthProfile) UnmarshalJSON ¶
func (e *ExternalAuthProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ExternalAuthProfile.
type HcpClusterVersionsClient ¶
type HcpClusterVersionsClient struct {
// contains filtered or unexported fields
}
HcpClusterVersionsClient contains the methods for the HcpClusterVersions group. Don't use this type directly, use NewHcpClusterVersionsClient() instead.
func NewHcpClusterVersionsClient ¶
func NewHcpClusterVersionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*HcpClusterVersionsClient, error)
NewHcpClusterVersionsClient creates a new instance of HcpClusterVersionsClient with the specified values.
- subscriptionID - The ID of the target subscription. The value must be an UUID.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*HcpClusterVersionsClient) NewListPager ¶
func (client *HcpClusterVersionsClient) NewListPager(location string, options *HcpClusterVersionsClientListOptions) *runtime.Pager[HcpClusterVersionsClientListResponse]
NewListPager - List HcpOpenShiftVersionResource resources by location
Generated from API version 2024-06-10-preview
- location - The name of the Azure region.
- options - HcpClusterVersionsClientListOptions contains the optional parameters for the HcpClusterVersionsClient.NewListPager method.
type HcpClusterVersionsClientListOptions ¶
type HcpClusterVersionsClientListOptions struct { }
HcpClusterVersionsClientListOptions contains the optional parameters for the HcpClusterVersionsClient.NewListPager method.
type HcpClusterVersionsClientListResponse ¶
type HcpClusterVersionsClientListResponse struct { // The response of a HcpOpenShiftVersionResource list operation. HcpOpenShiftVersionResourceListResult }
HcpClusterVersionsClientListResponse contains the response from method HcpClusterVersionsClient.NewListPager.
type HcpOpenShiftClusterCredentials ¶
type HcpOpenShiftClusterCredentials struct { // READ-ONLY; kube admin password KubeadminPassword *string // READ-ONLY; kubeadmin user name KubeadminUsername *string }
HcpOpenShiftClusterCredentials - HCP cluster credentials
func (HcpOpenShiftClusterCredentials) MarshalJSON ¶
func (h HcpOpenShiftClusterCredentials) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterCredentials.
func (*HcpOpenShiftClusterCredentials) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterCredentials) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterCredentials.
type HcpOpenShiftClusterKubeconfig ¶
type HcpOpenShiftClusterKubeconfig struct { // READ-ONLY; The kubeconfig file Kubeconfig *string }
HcpOpenShiftClusterKubeconfig - HCP cluster admin kubeconfig
func (HcpOpenShiftClusterKubeconfig) MarshalJSON ¶
func (h HcpOpenShiftClusterKubeconfig) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterKubeconfig.
func (*HcpOpenShiftClusterKubeconfig) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterKubeconfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterKubeconfig.
type HcpOpenShiftClusterNodePoolPatch ¶
type HcpOpenShiftClusterNodePoolPatch struct { // Managed Service Identity Identity *ManagedServiceIdentityUpdate // Represents the patchable node pool properties Properties *NodePoolPatchProperties // Resource tags. Tags map[string]*string }
HcpOpenShiftClusterNodePoolPatch - The template for adding optional properties.
func (HcpOpenShiftClusterNodePoolPatch) MarshalJSON ¶
func (h HcpOpenShiftClusterNodePoolPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterNodePoolPatch.
func (*HcpOpenShiftClusterNodePoolPatch) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterNodePoolPatch) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterNodePoolPatch.
type HcpOpenShiftClusterNodePoolResource ¶
type HcpOpenShiftClusterNodePoolResource struct { // REQUIRED; The geo-location where the resource lives Location *string // The managed service identities assigned to this resource. Identity *ManagedServiceIdentity // The resource-specific properties for this resource. Properties *NodePoolProperties // Resource tags. Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
HcpOpenShiftClusterNodePoolResource - Concrete tracked resource types can be created by aliasing this type using a specific property type.
func (HcpOpenShiftClusterNodePoolResource) MarshalJSON ¶
func (h HcpOpenShiftClusterNodePoolResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterNodePoolResource.
func (*HcpOpenShiftClusterNodePoolResource) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterNodePoolResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterNodePoolResource.
type HcpOpenShiftClusterNodePoolResourceListResult ¶
type HcpOpenShiftClusterNodePoolResourceListResult struct { // REQUIRED; The HcpOpenShiftClusterNodePoolResource items on this page Value []*HcpOpenShiftClusterNodePoolResource // The link to the next page of items NextLink *string }
HcpOpenShiftClusterNodePoolResourceListResult - The response of a HcpOpenShiftClusterNodePoolResource list operation.
func (HcpOpenShiftClusterNodePoolResourceListResult) MarshalJSON ¶
func (h HcpOpenShiftClusterNodePoolResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterNodePoolResourceListResult.
func (*HcpOpenShiftClusterNodePoolResourceListResult) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterNodePoolResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterNodePoolResourceListResult.
type HcpOpenShiftClusterPatch ¶
type HcpOpenShiftClusterPatch struct { // Managed service identity Identity *ManagedServiceIdentityUpdate // HCP patchable cluster properties Properties *HcpOpenShiftClusterPatchProperties // Resource tags. Tags map[string]*string }
HcpOpenShiftClusterPatch - The template for adding optional properties.
func (HcpOpenShiftClusterPatch) MarshalJSON ¶
func (h HcpOpenShiftClusterPatch) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterPatch.
func (*HcpOpenShiftClusterPatch) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterPatch) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterPatch.
type HcpOpenShiftClusterPatchProperties ¶
type HcpOpenShiftClusterPatchProperties struct { // The cluster resource specification. Spec *ClusterPatchSpec // READ-ONLY; The status of the last operation. ProvisioningState *ProvisioningState }
HcpOpenShiftClusterPatchProperties - HCP patchable cluster properties
func (HcpOpenShiftClusterPatchProperties) MarshalJSON ¶
func (h HcpOpenShiftClusterPatchProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterPatchProperties.
func (*HcpOpenShiftClusterPatchProperties) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterPatchProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterPatchProperties.
type HcpOpenShiftClusterProperties ¶
type HcpOpenShiftClusterProperties struct { // The cluster resource specification. Spec *ClusterSpec // READ-ONLY; The status of the last operation. ProvisioningState *ProvisioningState }
HcpOpenShiftClusterProperties - HCP cluster properties
func (HcpOpenShiftClusterProperties) MarshalJSON ¶
func (h HcpOpenShiftClusterProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterProperties.
func (*HcpOpenShiftClusterProperties) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterProperties.
type HcpOpenShiftClusterResource ¶
type HcpOpenShiftClusterResource struct { // REQUIRED; The geo-location where the resource lives Location *string // The managed service identities assigned to this resource. Identity *ManagedServiceIdentity // The resource-specific properties for this resource. Properties *HcpOpenShiftClusterProperties // Resource tags. Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
HcpOpenShiftClusterResource - HCP cluster resource
func (HcpOpenShiftClusterResource) MarshalJSON ¶
func (h HcpOpenShiftClusterResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterResource.
func (*HcpOpenShiftClusterResource) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterResource.
type HcpOpenShiftClusterResourceListResult ¶
type HcpOpenShiftClusterResourceListResult struct { // REQUIRED; The HcpOpenShiftClusterResource items on this page Value []*HcpOpenShiftClusterResource // The link to the next page of items NextLink *string }
HcpOpenShiftClusterResourceListResult - The response of a HcpOpenShiftClusterResource list operation.
func (HcpOpenShiftClusterResourceListResult) MarshalJSON ¶
func (h HcpOpenShiftClusterResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftClusterResourceListResult.
func (*HcpOpenShiftClusterResourceListResult) UnmarshalJSON ¶
func (h *HcpOpenShiftClusterResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftClusterResourceListResult.
type HcpOpenShiftClustersClient ¶
type HcpOpenShiftClustersClient struct {
// contains filtered or unexported fields
}
HcpOpenShiftClustersClient contains the methods for the HcpOpenShiftClusters group. Don't use this type directly, use NewHcpOpenShiftClustersClient() instead.
func NewHcpOpenShiftClustersClient ¶
func NewHcpOpenShiftClustersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*HcpOpenShiftClustersClient, error)
NewHcpOpenShiftClustersClient creates a new instance of HcpOpenShiftClustersClient with the specified values.
- subscriptionID - The ID of the target subscription. The value must be an UUID.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*HcpOpenShiftClustersClient) AdminCredentials ¶
func (client *HcpOpenShiftClustersClient) AdminCredentials(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, options *HcpOpenShiftClustersClientAdminCredentialsOptions) (HcpOpenShiftClustersClientAdminCredentialsResponse, error)
AdminCredentials - Returns the admin cluster credentials If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- options - HcpOpenShiftClustersClientAdminCredentialsOptions contains the optional parameters for the HcpOpenShiftClustersClient.AdminCredentials method.
func (*HcpOpenShiftClustersClient) BeginCreateOrUpdate ¶
func (client *HcpOpenShiftClustersClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, resource HcpOpenShiftClusterResource, options *HcpOpenShiftClustersClientBeginCreateOrUpdateOptions) (*runtime.Poller[HcpOpenShiftClustersClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a HcpOpenShiftClusterResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- resource - Resource create parameters.
- options - HcpOpenShiftClustersClientBeginCreateOrUpdateOptions contains the optional parameters for the HcpOpenShiftClustersClient.BeginCreateOrUpdate method.
func (*HcpOpenShiftClustersClient) BeginDelete ¶
func (client *HcpOpenShiftClustersClient) BeginDelete(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, options *HcpOpenShiftClustersClientBeginDeleteOptions) (*runtime.Poller[HcpOpenShiftClustersClientDeleteResponse], error)
BeginDelete - Delete a HcpOpenShiftClusterResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- options - HcpOpenShiftClustersClientBeginDeleteOptions contains the optional parameters for the HcpOpenShiftClustersClient.BeginDelete method.
func (*HcpOpenShiftClustersClient) BeginUpdate ¶
func (client *HcpOpenShiftClustersClient) BeginUpdate(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, properties HcpOpenShiftClusterPatch, options *HcpOpenShiftClustersClientBeginUpdateOptions) (*runtime.Poller[HcpOpenShiftClustersClientUpdateResponse], error)
BeginUpdate - Update a HcpOpenShiftClusterResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- properties - The resource properties to be updated.
- options - HcpOpenShiftClustersClientBeginUpdateOptions contains the optional parameters for the HcpOpenShiftClustersClient.BeginUpdate method.
func (*HcpOpenShiftClustersClient) Get ¶
func (client *HcpOpenShiftClustersClient) Get(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, options *HcpOpenShiftClustersClientGetOptions) (HcpOpenShiftClustersClientGetResponse, error)
Get - Get a HcpOpenShiftClusterResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- options - HcpOpenShiftClustersClientGetOptions contains the optional parameters for the HcpOpenShiftClustersClient.Get method.
func (*HcpOpenShiftClustersClient) KubeConfig ¶
func (client *HcpOpenShiftClustersClient) KubeConfig(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, options *HcpOpenShiftClustersClientKubeConfigOptions) (HcpOpenShiftClustersClientKubeConfigResponse, error)
KubeConfig - Return the kubeconfig for the cluster If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- options - HcpOpenShiftClustersClientKubeConfigOptions contains the optional parameters for the HcpOpenShiftClustersClient.KubeConfig method.
func (*HcpOpenShiftClustersClient) NewListByResourceGroupPager ¶
func (client *HcpOpenShiftClustersClient) NewListByResourceGroupPager(resourceGroupName string, options *HcpOpenShiftClustersClientListByResourceGroupOptions) *runtime.Pager[HcpOpenShiftClustersClientListByResourceGroupResponse]
NewListByResourceGroupPager - List HcpOpenShiftClusterResource resources by resource group
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- options - HcpOpenShiftClustersClientListByResourceGroupOptions contains the optional parameters for the HcpOpenShiftClustersClient.NewListByResourceGroupPager method.
func (*HcpOpenShiftClustersClient) NewListBySubscriptionPager ¶
func (client *HcpOpenShiftClustersClient) NewListBySubscriptionPager(options *HcpOpenShiftClustersClientListBySubscriptionOptions) *runtime.Pager[HcpOpenShiftClustersClientListBySubscriptionResponse]
NewListBySubscriptionPager - List HcpOpenShiftClusterResource resources by subscription ID
Generated from API version 2024-06-10-preview
- options - HcpOpenShiftClustersClientListBySubscriptionOptions contains the optional parameters for the HcpOpenShiftClustersClient.NewListBySubscriptionPager method.
type HcpOpenShiftClustersClientAdminCredentialsOptions ¶
type HcpOpenShiftClustersClientAdminCredentialsOptions struct { }
HcpOpenShiftClustersClientAdminCredentialsOptions contains the optional parameters for the HcpOpenShiftClustersClient.AdminCredentials method.
type HcpOpenShiftClustersClientAdminCredentialsResponse ¶
type HcpOpenShiftClustersClientAdminCredentialsResponse struct { // HCP cluster credentials HcpOpenShiftClusterCredentials }
HcpOpenShiftClustersClientAdminCredentialsResponse contains the response from method HcpOpenShiftClustersClient.AdminCredentials.
type HcpOpenShiftClustersClientBeginCreateOrUpdateOptions ¶
type HcpOpenShiftClustersClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
HcpOpenShiftClustersClientBeginCreateOrUpdateOptions contains the optional parameters for the HcpOpenShiftClustersClient.BeginCreateOrUpdate method.
type HcpOpenShiftClustersClientBeginDeleteOptions ¶
type HcpOpenShiftClustersClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
HcpOpenShiftClustersClientBeginDeleteOptions contains the optional parameters for the HcpOpenShiftClustersClient.BeginDelete method.
type HcpOpenShiftClustersClientBeginUpdateOptions ¶
type HcpOpenShiftClustersClientBeginUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
HcpOpenShiftClustersClientBeginUpdateOptions contains the optional parameters for the HcpOpenShiftClustersClient.BeginUpdate method.
type HcpOpenShiftClustersClientCreateOrUpdateResponse ¶
type HcpOpenShiftClustersClientCreateOrUpdateResponse struct { // HCP cluster resource HcpOpenShiftClusterResource }
HcpOpenShiftClustersClientCreateOrUpdateResponse contains the response from method HcpOpenShiftClustersClient.BeginCreateOrUpdate.
type HcpOpenShiftClustersClientDeleteResponse ¶
type HcpOpenShiftClustersClientDeleteResponse struct { }
HcpOpenShiftClustersClientDeleteResponse contains the response from method HcpOpenShiftClustersClient.BeginDelete.
type HcpOpenShiftClustersClientGetOptions ¶
type HcpOpenShiftClustersClientGetOptions struct { }
HcpOpenShiftClustersClientGetOptions contains the optional parameters for the HcpOpenShiftClustersClient.Get method.
type HcpOpenShiftClustersClientGetResponse ¶
type HcpOpenShiftClustersClientGetResponse struct { // HCP cluster resource HcpOpenShiftClusterResource }
HcpOpenShiftClustersClientGetResponse contains the response from method HcpOpenShiftClustersClient.Get.
type HcpOpenShiftClustersClientKubeConfigOptions ¶
type HcpOpenShiftClustersClientKubeConfigOptions struct { }
HcpOpenShiftClustersClientKubeConfigOptions contains the optional parameters for the HcpOpenShiftClustersClient.KubeConfig method.
type HcpOpenShiftClustersClientKubeConfigResponse ¶
type HcpOpenShiftClustersClientKubeConfigResponse struct { // HCP cluster admin kubeconfig HcpOpenShiftClusterKubeconfig }
HcpOpenShiftClustersClientKubeConfigResponse contains the response from method HcpOpenShiftClustersClient.KubeConfig.
type HcpOpenShiftClustersClientListByResourceGroupOptions ¶
type HcpOpenShiftClustersClientListByResourceGroupOptions struct { }
HcpOpenShiftClustersClientListByResourceGroupOptions contains the optional parameters for the HcpOpenShiftClustersClient.NewListByResourceGroupPager method.
type HcpOpenShiftClustersClientListByResourceGroupResponse ¶
type HcpOpenShiftClustersClientListByResourceGroupResponse struct { // The response of a HcpOpenShiftClusterResource list operation. HcpOpenShiftClusterResourceListResult }
HcpOpenShiftClustersClientListByResourceGroupResponse contains the response from method HcpOpenShiftClustersClient.NewListByResourceGroupPager.
type HcpOpenShiftClustersClientListBySubscriptionOptions ¶
type HcpOpenShiftClustersClientListBySubscriptionOptions struct { }
HcpOpenShiftClustersClientListBySubscriptionOptions contains the optional parameters for the HcpOpenShiftClustersClient.NewListBySubscriptionPager method.
type HcpOpenShiftClustersClientListBySubscriptionResponse ¶
type HcpOpenShiftClustersClientListBySubscriptionResponse struct { // The response of a HcpOpenShiftClusterResource list operation. HcpOpenShiftClusterResourceListResult }
HcpOpenShiftClustersClientListBySubscriptionResponse contains the response from method HcpOpenShiftClustersClient.NewListBySubscriptionPager.
type HcpOpenShiftClustersClientUpdateResponse ¶
type HcpOpenShiftClustersClientUpdateResponse struct { // HCP cluster resource HcpOpenShiftClusterResource }
HcpOpenShiftClustersClientUpdateResponse contains the response from method HcpOpenShiftClustersClient.BeginUpdate.
type HcpOpenShiftVersionResource ¶
type HcpOpenShiftVersionResource struct { // The resource-specific properties for this resource. Properties *HcpOpenShiftVersionsProperties // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
HcpOpenShiftVersionResource - HcpOpenShiftVersions represents a location based available HCP cluster versions
func (HcpOpenShiftVersionResource) MarshalJSON ¶
func (h HcpOpenShiftVersionResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftVersionResource.
func (*HcpOpenShiftVersionResource) UnmarshalJSON ¶
func (h *HcpOpenShiftVersionResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftVersionResource.
type HcpOpenShiftVersionResourceListResult ¶
type HcpOpenShiftVersionResourceListResult struct { // REQUIRED; The HcpOpenShiftVersionResource items on this page Value []*HcpOpenShiftVersionResource // The link to the next page of items NextLink *string }
HcpOpenShiftVersionResourceListResult - The response of a HcpOpenShiftVersionResource list operation.
func (HcpOpenShiftVersionResourceListResult) MarshalJSON ¶
func (h HcpOpenShiftVersionResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftVersionResourceListResult.
func (*HcpOpenShiftVersionResourceListResult) UnmarshalJSON ¶
func (h *HcpOpenShiftVersionResourceListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftVersionResourceListResult.
type HcpOpenShiftVersionsProperties ¶
type HcpOpenShiftVersionsProperties struct { // READ-ONLY; The cluster version ClusterVersion *string // READ-ONLY; The provisioning state of the resource. ProvisioningState *ResourceProvisioningState }
HcpOpenShiftVersionsProperties is the installable cluster version
func (HcpOpenShiftVersionsProperties) MarshalJSON ¶
func (h HcpOpenShiftVersionsProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type HcpOpenShiftVersionsProperties.
func (*HcpOpenShiftVersionsProperties) UnmarshalJSON ¶
func (h *HcpOpenShiftVersionsProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type HcpOpenShiftVersionsProperties.
type Label ¶
Label represents the k8s label
func (Label) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Label.
func (*Label) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Label.
type ManagedServiceIdentity ¶
type ManagedServiceIdentity struct { // REQUIRED; Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). Type *ManagedServiceIdentityType // The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM // resource ids in the form: // '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. // The dictionary values can be empty objects ({}) in // requests. UserAssignedIdentities map[string]*UserAssignedIdentity // READ-ONLY; The service principal ID of the system assigned identity. This property will only be provided for a system assigned // identity. PrincipalID *string // READ-ONLY; The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. TenantID *string }
ManagedServiceIdentity - Managed service identity (system assigned and/or user assigned identities)
func (ManagedServiceIdentity) MarshalJSON ¶
func (m ManagedServiceIdentity) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedServiceIdentity.
func (*ManagedServiceIdentity) UnmarshalJSON ¶
func (m *ManagedServiceIdentity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ManagedServiceIdentity.
type ManagedServiceIdentityType ¶
type ManagedServiceIdentityType string
ManagedServiceIdentityType - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
const ( ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None" ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned" ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned,UserAssigned" ManagedServiceIdentityTypeUserAssigned ManagedServiceIdentityType = "UserAssigned" )
func PossibleManagedServiceIdentityTypeValues ¶
func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType
PossibleManagedServiceIdentityTypeValues returns the possible values for the ManagedServiceIdentityType const type.
type ManagedServiceIdentityUpdate ¶
type ManagedServiceIdentityUpdate struct { // The type of managed identity assigned to this resource. Type *ManagedServiceIdentityType // The identities assigned to this resource by the user. UserAssignedIdentities map[string]*ComponentsQjfoe3SchemasManagedserviceidentityupdatePropertiesUserassignedidentitiesAdditionalproperties }
ManagedServiceIdentityUpdate - The template for adding optional properties.
func (ManagedServiceIdentityUpdate) MarshalJSON ¶
func (m ManagedServiceIdentityUpdate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ManagedServiceIdentityUpdate.
func (*ManagedServiceIdentityUpdate) UnmarshalJSON ¶
func (m *ManagedServiceIdentityUpdate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ManagedServiceIdentityUpdate.
type NetworkProfile ¶
type NetworkProfile struct { // REQUIRED; from which to assign machine IP addresses, example: 10.0.0.0/16 MachineCidr *string // REQUIRED; The CIDR of the pod IP addresses example: 10.128.0.0/14 PodCidr *string // REQUIRED; The CIDR block for assigned service IPs, example: 172.30.0.0/16 ServiceCidr *string // Network host prefix which is defaulted to 23 if not specified. HostPrefix *int32 // The main controller responsible for rendering the core networking components NetworkType *NetworkType }
NetworkProfile - Network profile of the cluster
func (NetworkProfile) MarshalJSON ¶
func (n NetworkProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NetworkProfile.
func (*NetworkProfile) UnmarshalJSON ¶
func (n *NetworkProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NetworkProfile.
type NetworkType ¶
type NetworkType string
NetworkType - The main controller responsible for rendering the core networking components
const ( // NetworkTypeOVNKubernetes - THE OVN network plugin for the OpenShift cluster NetworkTypeOVNKubernetes NetworkType = "OVNKubernetes" // NetworkTypeOther - Other network plugins NetworkTypeOther NetworkType = "Other" )
func PossibleNetworkTypeValues ¶
func PossibleNetworkTypeValues() []NetworkType
PossibleNetworkTypeValues returns the possible values for the NetworkType const type.
type NodePoolAutoScaling ¶
type NodePoolAutoScaling struct { // The maximum number of nodes in the node pool Max *int32 // The minimum number of nodes in the node pool Min *int32 }
NodePoolAutoScaling - Node pool autoscaling
func (NodePoolAutoScaling) MarshalJSON ¶
func (n NodePoolAutoScaling) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NodePoolAutoScaling.
func (*NodePoolAutoScaling) UnmarshalJSON ¶
func (n *NodePoolAutoScaling) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NodePoolAutoScaling.
type NodePoolPatchProperties ¶
type NodePoolPatchProperties struct { // The node pool resource specification Spec *NodePoolPatchSpec // READ-ONLY; Provisioning state ProvisioningState *ResourceProvisioningState }
NodePoolPatchProperties - Represents the patchable node pool properties
func (NodePoolPatchProperties) MarshalJSON ¶
func (n NodePoolPatchProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NodePoolPatchProperties.
func (*NodePoolPatchProperties) UnmarshalJSON ¶
func (n *NodePoolPatchProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NodePoolPatchProperties.
type NodePoolPatchSpec ¶
type NodePoolPatchSpec struct { // Representation of a autoscaling in a node pool. AutoScaling *NodePoolAutoScaling // K8s labels to propagate to the NodePool Nodes The good example of the label is node-role.kubernetes.io/master: "" Labels []*Label // The number of worker nodes, it cannot be used together with autoscaling Replicas *int32 // Taints for the nodes Taints []*Taint // Tuning configs, TODO provide meaningful explanation TuningConfig is a list of references to ConfigMaps containing serialized // Tuned resources to define the tuning configuration to be applied to nodes // in the NodePool. Each ConfigMap must have a single key named "tuned" whose value is the JSON or YAML of a serialized Tuned // or PerformanceProfile. TuningConfigs []*string }
NodePoolPatchSpec - Worker node pool profile
func (NodePoolPatchSpec) MarshalJSON ¶
func (n NodePoolPatchSpec) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NodePoolPatchSpec.
func (*NodePoolPatchSpec) UnmarshalJSON ¶
func (n *NodePoolPatchSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NodePoolPatchSpec.
type NodePoolPlatformProfile ¶
type NodePoolPlatformProfile struct { // REQUIRED; The VM size according to the documentation: // * https://learn.microsoft.com/en-us/azure/virtual-machines/sizes VMSize *string // The availability zone for the node pool. Please read the documentation to see which regions support availability zones // * https://learn.microsoft.com/en-us/azure/availability-zones/az-overview AvailabilityZone *string // Disk Encryption Set ID that will be used for encryption the Nodes disks // * https://learn.microsoft.com/en-us/azure/virtual-machines/disk-encryption-overview // * https://learn.microsoft.com/en-us/azure/virtual-machines/disk-encryption DiskEncryptionSetID *string // The OS disk size in GiB DiskSizeGiB *int32 // The type of the disk storage account // * https://learn.microsoft.com/en-us/azure/virtual-machines/disks-types DiskStorageAccountType *string // Whether the worker machines should be encrypted at host EncryptionAtHost *bool // Is the disk ephemeral EphemeralOsDisk *bool // The resourceId for the subnet used by the workers SubnetID *string }
NodePoolPlatformProfile - Azure node pool platform configuration
func (NodePoolPlatformProfile) MarshalJSON ¶
func (n NodePoolPlatformProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NodePoolPlatformProfile.
func (*NodePoolPlatformProfile) UnmarshalJSON ¶
func (n *NodePoolPlatformProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NodePoolPlatformProfile.
type NodePoolProperties ¶
type NodePoolProperties struct { // The node pool resource specification Spec *NodePoolSpec // READ-ONLY; Provisioning state ProvisioningState *ProvisioningState }
NodePoolProperties - Represents the node pool properties
func (NodePoolProperties) MarshalJSON ¶
func (n NodePoolProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NodePoolProperties.
func (*NodePoolProperties) UnmarshalJSON ¶
func (n *NodePoolProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NodePoolProperties.
type NodePoolSpec ¶
type NodePoolSpec struct { // REQUIRED; Azure node pool platform configuration Platform *NodePoolPlatformProfile // REQUIRED; OpenShift version for the nodepool Version *VersionProfile // Auto-repair AutoRepair *bool // Representation of a autoscaling in a node pool. AutoScaling *NodePoolAutoScaling // K8s labels to propagate to the NodePool Nodes The good example of the label is node-role.kubernetes.io/master: "" Labels []*Label // The number of worker nodes, it cannot be used together with autoscaling Replicas *int32 // Taints for the nodes Taints []*Taint // Tuning configs, TODO provide meaningful explanation TuningConfig is a list of references to ConfigMaps containing serialized // Tuned resources to define the tuning configuration to be applied to nodes // in the NodePool. Each ConfigMap must have a single key named "tuned" whose value is the JSON or YAML of a serialized Tuned // or PerformanceProfile. TuningConfigs []*string }
NodePoolSpec - Worker node pool profile
func (NodePoolSpec) MarshalJSON ¶
func (n NodePoolSpec) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NodePoolSpec.
func (*NodePoolSpec) UnmarshalJSON ¶
func (n *NodePoolSpec) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type NodePoolSpec.
type NodePoolsClient ¶
type NodePoolsClient struct {
// contains filtered or unexported fields
}
NodePoolsClient contains the methods for the NodePools group. Don't use this type directly, use NewNodePoolsClient() instead.
func NewNodePoolsClient ¶
func NewNodePoolsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*NodePoolsClient, error)
NewNodePoolsClient creates a new instance of NodePoolsClient with the specified values.
- subscriptionID - The ID of the target subscription. The value must be an UUID.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*NodePoolsClient) BeginCreateOrUpdate ¶
func (client *NodePoolsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, nodePoolName string, resource HcpOpenShiftClusterNodePoolResource, options *NodePoolsClientBeginCreateOrUpdateOptions) (*runtime.Poller[NodePoolsClientCreateOrUpdateResponse], error)
BeginCreateOrUpdate - Create a HcpOpenShiftClusterNodePoolResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- nodePoolName - Name of HCP cluster *
- resource - Resource create parameters.
- options - NodePoolsClientBeginCreateOrUpdateOptions contains the optional parameters for the NodePoolsClient.BeginCreateOrUpdate method.
func (*NodePoolsClient) BeginDelete ¶
func (client *NodePoolsClient) BeginDelete(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, nodePoolName string, options *NodePoolsClientBeginDeleteOptions) (*runtime.Poller[NodePoolsClientDeleteResponse], error)
BeginDelete - Delete a HcpOpenShiftClusterNodePoolResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- nodePoolName - Name of HCP cluster *
- options - NodePoolsClientBeginDeleteOptions contains the optional parameters for the NodePoolsClient.BeginDelete method.
func (*NodePoolsClient) BeginUpdate ¶
func (client *NodePoolsClient) BeginUpdate(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, nodePoolName string, properties HcpOpenShiftClusterNodePoolPatch, options *NodePoolsClientBeginUpdateOptions) (*runtime.Poller[NodePoolsClientUpdateResponse], error)
BeginUpdate - Update a HcpOpenShiftClusterNodePoolResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- nodePoolName - Name of HCP cluster *
- properties - The resource properties to be updated.
- options - NodePoolsClientBeginUpdateOptions contains the optional parameters for the NodePoolsClient.BeginUpdate method.
func (*NodePoolsClient) Get ¶
func (client *NodePoolsClient) Get(ctx context.Context, resourceGroupName string, hcpOpenShiftClusterName string, nodePoolName string, options *NodePoolsClientGetOptions) (NodePoolsClientGetResponse, error)
Get - Get a HcpOpenShiftClusterNodePoolResource If the operation fails it returns an *azcore.ResponseError type.
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- nodePoolName - Name of HCP cluster *
- options - NodePoolsClientGetOptions contains the optional parameters for the NodePoolsClient.Get method.
func (*NodePoolsClient) NewListByParentPager ¶
func (client *NodePoolsClient) NewListByParentPager(resourceGroupName string, hcpOpenShiftClusterName string, options *NodePoolsClientListByParentOptions) *runtime.Pager[NodePoolsClientListByParentResponse]
NewListByParentPager - List HcpOpenShiftClusterNodePoolResource resources by HcpOpenShiftClusterResource
Generated from API version 2024-06-10-preview
- resourceGroupName - The name of the resource group. The name is case insensitive.
- hcpOpenShiftClusterName - Name of HCP cluster
- options - NodePoolsClientListByParentOptions contains the optional parameters for the NodePoolsClient.NewListByParentPager method.
type NodePoolsClientBeginCreateOrUpdateOptions ¶
type NodePoolsClientBeginCreateOrUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
NodePoolsClientBeginCreateOrUpdateOptions contains the optional parameters for the NodePoolsClient.BeginCreateOrUpdate method.
type NodePoolsClientBeginDeleteOptions ¶
type NodePoolsClientBeginDeleteOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
NodePoolsClientBeginDeleteOptions contains the optional parameters for the NodePoolsClient.BeginDelete method.
type NodePoolsClientBeginUpdateOptions ¶
type NodePoolsClientBeginUpdateOptions struct { // Resumes the LRO from the provided token. ResumeToken string }
NodePoolsClientBeginUpdateOptions contains the optional parameters for the NodePoolsClient.BeginUpdate method.
type NodePoolsClientCreateOrUpdateResponse ¶
type NodePoolsClientCreateOrUpdateResponse struct { // Concrete tracked resource types can be created by aliasing this type using a specific property type. HcpOpenShiftClusterNodePoolResource }
NodePoolsClientCreateOrUpdateResponse contains the response from method NodePoolsClient.BeginCreateOrUpdate.
type NodePoolsClientDeleteResponse ¶
type NodePoolsClientDeleteResponse struct { }
NodePoolsClientDeleteResponse contains the response from method NodePoolsClient.BeginDelete.
type NodePoolsClientGetOptions ¶
type NodePoolsClientGetOptions struct { }
NodePoolsClientGetOptions contains the optional parameters for the NodePoolsClient.Get method.
type NodePoolsClientGetResponse ¶
type NodePoolsClientGetResponse struct { // Concrete tracked resource types can be created by aliasing this type using a specific property type. HcpOpenShiftClusterNodePoolResource }
NodePoolsClientGetResponse contains the response from method NodePoolsClient.Get.
type NodePoolsClientListByParentOptions ¶
type NodePoolsClientListByParentOptions struct { }
NodePoolsClientListByParentOptions contains the optional parameters for the NodePoolsClient.NewListByParentPager method.
type NodePoolsClientListByParentResponse ¶
type NodePoolsClientListByParentResponse struct { // The response of a HcpOpenShiftClusterNodePoolResource list operation. HcpOpenShiftClusterNodePoolResourceListResult }
NodePoolsClientListByParentResponse contains the response from method NodePoolsClient.NewListByParentPager.
type NodePoolsClientUpdateResponse ¶
type NodePoolsClientUpdateResponse struct { // Concrete tracked resource types can be created by aliasing this type using a specific property type. HcpOpenShiftClusterNodePoolResource }
NodePoolsClientUpdateResponse contains the response from method NodePoolsClient.BeginUpdate.
type Operation ¶
type Operation struct { // Localized display information for this particular operation. Display *OperationDisplay // READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. ActionType *ActionType // READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane // operations. IsDataAction *bool // READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", // "Microsoft.Compute/virtualMachines/capture/action" Name *string // READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default // value is "user,system" Origin *Origin }
Operation - Details of a REST API operation, returned from the Resource Provider Operations API
func (Operation) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Operation.
func (*Operation) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Operation.
type OperationDisplay ¶
type OperationDisplay struct { // READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views. Description *string // READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual // Machine", "Restart Virtual Machine". Operation *string // READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft // Compute". Provider *string // READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job // Schedule Collections". Resource *string }
OperationDisplay - Localized display information for this particular operation.
func (OperationDisplay) MarshalJSON ¶
func (o OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationDisplay.
func (*OperationDisplay) UnmarshalJSON ¶
func (o *OperationDisplay) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationDisplay.
type OperationListResult ¶
type OperationListResult struct { // READ-ONLY; URL to get the next set of operation list results (if there are any). NextLink *string // READ-ONLY; List of operations supported by the resource provider Value []*Operation }
OperationListResult - A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
func (OperationListResult) MarshalJSON ¶
func (o OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationListResult.
func (*OperationListResult) UnmarshalJSON ¶
func (o *OperationListResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type OperationListResult.
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)
NewOperationsClient creates a new instance of OperationsClient with the specified values.
- credential - used to authorize requests. Usually a credential from azidentity.
- options - pass nil to accept the default values.
func (*OperationsClient) NewListPager ¶
func (client *OperationsClient) NewListPager(options *OperationsClientListOptions) *runtime.Pager[OperationsClientListResponse]
NewListPager - List the operations for the provider
Generated from API version 2024-06-10-preview
- options - OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
type OperationsClientListOptions ¶
type OperationsClientListOptions struct { }
OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
type OperationsClientListResponse ¶
type OperationsClientListResponse struct { // A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. OperationListResult }
OperationsClientListResponse contains the response from method OperationsClient.NewListPager.
type Origin ¶
type Origin string
Origin - The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
func PossibleOriginValues ¶
func PossibleOriginValues() []Origin
PossibleOriginValues returns the possible values for the Origin const type.
type OutboundType ¶
type OutboundType string
OutboundType - The core outgoing configuration
const ( // OutboundTypeLoadBalancer - The load balancer configuration OutboundTypeLoadBalancer OutboundType = "loadBalancer" )
func PossibleOutboundTypeValues ¶
func PossibleOutboundTypeValues() []OutboundType
PossibleOutboundTypeValues returns the possible values for the OutboundType const type.
type PlatformProfile ¶
type PlatformProfile struct { // REQUIRED; ResourceId for the network security group attached to the cluster subnet NetworkSecurityGroupID *string // REQUIRED; ResourceId for the subnet used by the control plane SubnetID *string // The id of the disk encryption set to be used for etcd. Configure this when etcdEncryption is set to true Is used the // https://learn.microsoft.com/en-us/azure/storage/common/customer-managed-keys-overview EtcdEncryptionSetID *string // Resource group to put cluster resources ManagedResourceGroup *string // The core outgoing configuration OutboundType *OutboundType }
PlatformProfile - Azure specific configuration
func (PlatformProfile) MarshalJSON ¶
func (p PlatformProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PlatformProfile.
func (*PlatformProfile) UnmarshalJSON ¶
func (p *PlatformProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type PlatformProfile.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState - The resource provisioning state.
const ( // ProvisioningStateAccepted - Non-terminal state indicating the resource has been accepted ProvisioningStateAccepted ProvisioningState = "Accepted" // ProvisioningStateCanceled - Resource creation was canceled. ProvisioningStateCanceled ProvisioningState = "Canceled" // ProvisioningStateDeleting - Non-terminal state indicating the resource is deleting ProvisioningStateDeleting ProvisioningState = "Deleting" // ProvisioningStateFailed - Resource creation failed. ProvisioningStateFailed ProvisioningState = "Failed" // ProvisioningStateProvisioning - Non-terminal state indicating the resource is provisioning ProvisioningStateProvisioning ProvisioningState = "Provisioning" // ProvisioningStateSucceeded - Resource has been created. ProvisioningStateSucceeded ProvisioningState = "Succeeded" // ProvisioningStateUpdating - Non-terminal state indicating the resource is updating ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
type ProxyProfile ¶
type ProxyProfile struct { // http proxy config HTTPProxy *string // https proxy config HTTPSProxy *string // no proxy config NoProxy *string // The trusted CA for the proxy TrustedCa *string }
ProxyProfile - OpenShift cluster proxy configuration
func (ProxyProfile) MarshalJSON ¶
func (p ProxyProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProxyProfile.
func (*ProxyProfile) UnmarshalJSON ¶
func (p *ProxyProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ProxyProfile.
type ProxyResource ¶
type ProxyResource struct { // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
func (ProxyResource) MarshalJSON ¶
func (p ProxyResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ProxyResource.
func (*ProxyResource) UnmarshalJSON ¶
func (p *ProxyResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ProxyResource.
type Resource ¶
type Resource struct { // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
Resource - Common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Resource.
func (*Resource) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Resource.
type ResourceProvisioningState ¶
type ResourceProvisioningState string
ResourceProvisioningState - The provisioning state of a resource type.
const ( // ResourceProvisioningStateCanceled - Resource creation was canceled. ResourceProvisioningStateCanceled ResourceProvisioningState = "Canceled" // ResourceProvisioningStateFailed - Resource creation failed. ResourceProvisioningStateFailed ResourceProvisioningState = "Failed" // ResourceProvisioningStateSucceeded - Resource has been created. ResourceProvisioningStateSucceeded ResourceProvisioningState = "Succeeded" )
func PossibleResourceProvisioningStateValues ¶
func PossibleResourceProvisioningStateValues() []ResourceProvisioningState
PossibleResourceProvisioningStateValues returns the possible values for the ResourceProvisioningState const type.
type SystemData ¶
type SystemData struct { // The timestamp of resource creation (UTC). CreatedAt *time.Time // The identity that created the resource. CreatedBy *string // The type of identity that created the resource. CreatedByType *CreatedByType // The timestamp of resource last modification (UTC) LastModifiedAt *time.Time // The identity that last modified the resource. LastModifiedBy *string // The type of identity that last modified the resource. LastModifiedByType *CreatedByType }
SystemData - Metadata pertaining to creation and last modification of the resource.
func (SystemData) MarshalJSON ¶
func (s SystemData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SystemData.
func (*SystemData) UnmarshalJSON ¶
func (s *SystemData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.
type Taint ¶
type Taint struct { // The effect of the taint The good example of the taint effect is NoSchedule Effect *Effect // The key of the taint The good example of the taint key is node-role.kubernetes.io/master Key *string // The value of the taint The good example of the taint value is NoSchedule Value *string }
Taint is controlling the node taint and its effects
func (Taint) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Taint.
func (*Taint) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Taint.
type TokenClaimMappingsProfile ¶
type TokenClaimMappingsProfile struct { // REQUIRED; The claim mappings groups Groups *ClaimProfile // REQUIRED; The claim mappings username Username *ClaimProfile }
TokenClaimMappingsProfile - External auth claim mappings profile
func (TokenClaimMappingsProfile) MarshalJSON ¶
func (t TokenClaimMappingsProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenClaimMappingsProfile.
func (*TokenClaimMappingsProfile) UnmarshalJSON ¶
func (t *TokenClaimMappingsProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TokenClaimMappingsProfile.
type TokenClaimValidationRuleProfile ¶
type TokenClaimValidationRuleProfile struct { // REQUIRED; Claim name for the validation profile Claim *string // REQUIRED; Required value RequiredValue *string }
TokenClaimValidationRuleProfile - External auth claim validation rule
func (TokenClaimValidationRuleProfile) MarshalJSON ¶
func (t TokenClaimValidationRuleProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenClaimValidationRuleProfile.
func (*TokenClaimValidationRuleProfile) UnmarshalJSON ¶
func (t *TokenClaimValidationRuleProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TokenClaimValidationRuleProfile.
type TokenIssuerProfile ¶
type TokenIssuerProfile struct { // REQUIRED; The audience of the token issuer Audiences []*string // REQUIRED; The issuer of the token Ca *string // REQUIRED; The URL of the token issuer URL *string }
TokenIssuerProfile - Token issuer profile
func (TokenIssuerProfile) MarshalJSON ¶
func (t TokenIssuerProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenIssuerProfile.
func (*TokenIssuerProfile) UnmarshalJSON ¶
func (t *TokenIssuerProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TokenIssuerProfile.
type TrackedResource ¶
type TrackedResource struct { // REQUIRED; The geo-location where the resource lives Location *string // Resource tags. Tags map[string]*string // READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" ID *string // READ-ONLY; The name of the resource Name *string // READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData // READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string }
TrackedResource - The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (t TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TrackedResource.
func (*TrackedResource) UnmarshalJSON ¶
func (t *TrackedResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TrackedResource.
type UserAssignedIdentity ¶
type UserAssignedIdentity struct { // READ-ONLY; The client ID of the assigned identity. ClientID *string // READ-ONLY; The principal ID of the assigned identity. PrincipalID *string }
UserAssignedIdentity - User assigned identity properties
func (UserAssignedIdentity) MarshalJSON ¶
func (u UserAssignedIdentity) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type UserAssignedIdentity.
func (*UserAssignedIdentity) UnmarshalJSON ¶
func (u *UserAssignedIdentity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type UserAssignedIdentity.
type VersionProfile ¶
type VersionProfile struct { // REQUIRED; ChannelGroup is the name of the set to which this version belongs. Each version belongs to only a single set. ChannelGroup *string // REQUIRED; ID is the unique identifier of the version. ID *string // READ-ONLY; AvailableUpgrades is a list of version names the current version can be upgraded to. AvailableUpgrades []*string }
VersionProfile - Versions represents an OpenShift version.
func (VersionProfile) MarshalJSON ¶
func (v VersionProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type VersionProfile.
func (*VersionProfile) UnmarshalJSON ¶
func (v *VersionProfile) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type VersionProfile.
type Visibility ¶
type Visibility string
Visibility - The visibility of the API server
const ( // VisibilityPrivate - The API server is not visible from the internet. VisibilityPrivate Visibility = "private" // VisibilityPublic - The API server is visible from the internet. VisibilityPublic Visibility = "public" )
func PossibleVisibilityValues ¶
func PossibleVisibilityValues() []Visibility
PossibleVisibilityValues returns the possible values for the Visibility const type.