Documentation
¶
Overview ¶
Package redhatopenshift implements the Azure ARM Redhatopenshift service API version 2024-08-12-preview.
Rest API for Azure Red Hat OpenShift 4
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type APIServerProfile
- type AzureEntityResource
- type BaseClient
- type CloudError
- type CloudErrorBody
- type ClusterProfile
- type ClusterUserAssignedIdentity
- type ConsoleProfile
- type CreatedByType
- type Display
- type EffectiveOutboundIP
- type EncryptionAtHost
- type FipsValidatedModules
- type Identity
- type IngressProfile
- type LoadBalancerProfile
- type MachinePool
- type MachinePoolList
- type MachinePoolListIterator
- func (iter *MachinePoolListIterator) Next() error
- func (iter *MachinePoolListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter MachinePoolListIterator) NotDone() bool
- func (iter MachinePoolListIterator) Response() MachinePoolList
- func (iter MachinePoolListIterator) Value() MachinePool
- type MachinePoolListPage
- type MachinePoolProperties
- type MachinePoolUpdate
- type MachinePoolsClient
- func (client MachinePoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result MachinePool, err error)
- func (client MachinePoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client MachinePoolsClient) CreateOrUpdateResponder(resp *http.Response) (result MachinePool, err error)
- func (client MachinePoolsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client MachinePoolsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client MachinePoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client MachinePoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client MachinePoolsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client MachinePoolsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result MachinePool, err error)
- func (client MachinePoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client MachinePoolsClient) GetResponder(resp *http.Response) (result MachinePool, err error)
- func (client MachinePoolsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client MachinePoolsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result MachinePoolListPage, err error)
- func (client MachinePoolsClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result MachinePoolListIterator, err error)
- func (client MachinePoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client MachinePoolsClient) ListResponder(resp *http.Response) (result MachinePoolList, err error)
- func (client MachinePoolsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client MachinePoolsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result MachinePool, err error)
- func (client MachinePoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client MachinePoolsClient) UpdateResponder(resp *http.Response) (result MachinePool, err error)
- func (client MachinePoolsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ManagedOutboundIPs
- type MasterProfile
- type NetworkProfile
- type OpenShiftCluster
- type OpenShiftClusterAdminKubeconfig
- type OpenShiftClusterCredentials
- type OpenShiftClusterList
- type OpenShiftClusterListIterator
- func (iter *OpenShiftClusterListIterator) Next() error
- func (iter *OpenShiftClusterListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OpenShiftClusterListIterator) NotDone() bool
- func (iter OpenShiftClusterListIterator) Response() OpenShiftClusterList
- func (iter OpenShiftClusterListIterator) Value() OpenShiftCluster
- type OpenShiftClusterListPage
- func (page *OpenShiftClusterListPage) Next() error
- func (page *OpenShiftClusterListPage) NextWithContext(ctx context.Context) (err error)
- func (page OpenShiftClusterListPage) NotDone() bool
- func (page OpenShiftClusterListPage) Response() OpenShiftClusterList
- func (page OpenShiftClusterListPage) Values() []OpenShiftCluster
- type OpenShiftClusterProperties
- type OpenShiftClusterUpdate
- type OpenShiftClustersClient
- func (client OpenShiftClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result OpenShiftClustersCreateOrUpdateFuture, err error)
- func (client OpenShiftClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client OpenShiftClustersClient) CreateOrUpdateResponder(resp *http.Response) (result OpenShiftCluster, err error)
- func (client OpenShiftClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftClustersCreateOrUpdateFuture, err error)
- func (client OpenShiftClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftClustersDeleteFuture, err error)
- func (client OpenShiftClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client OpenShiftClustersClient) DeleteSender(req *http.Request) (future OpenShiftClustersDeleteFuture, err error)
- func (client OpenShiftClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftCluster, err error)
- func (client OpenShiftClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftClustersClient) GetResponder(resp *http.Response) (result OpenShiftCluster, err error)
- func (client OpenShiftClustersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client OpenShiftClustersClient) List(ctx context.Context) (result OpenShiftClusterListPage, err error)
- func (client OpenShiftClustersClient) ListAdminCredentials(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftClusterAdminKubeconfig, err error)
- func (client OpenShiftClustersClient) ListAdminCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftClustersClient) ListAdminCredentialsResponder(resp *http.Response) (result OpenShiftClusterAdminKubeconfig, err error)
- func (client OpenShiftClustersClient) ListAdminCredentialsSender(req *http.Request) (*http.Response, error)
- func (client OpenShiftClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result OpenShiftClusterListPage, err error)
- func (client OpenShiftClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result OpenShiftClusterListIterator, err error)
- func (client OpenShiftClustersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client OpenShiftClustersClient) ListByResourceGroupResponder(resp *http.Response) (result OpenShiftClusterList, err error)
- func (client OpenShiftClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client OpenShiftClustersClient) ListComplete(ctx context.Context) (result OpenShiftClusterListIterator, err error)
- func (client OpenShiftClustersClient) ListCredentials(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftClusterCredentials, err error)
- func (client OpenShiftClustersClient) ListCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client OpenShiftClustersClient) ListCredentialsResponder(resp *http.Response) (result OpenShiftClusterCredentials, err error)
- func (client OpenShiftClustersClient) ListCredentialsSender(req *http.Request) (*http.Response, error)
- func (client OpenShiftClustersClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OpenShiftClustersClient) ListResponder(resp *http.Response) (result OpenShiftClusterList, err error)
- func (client OpenShiftClustersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client OpenShiftClustersClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result OpenShiftClustersUpdateFuture, err error)
- func (client OpenShiftClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client OpenShiftClustersClient) UpdateResponder(resp *http.Response) (result OpenShiftCluster, err error)
- func (client OpenShiftClustersClient) UpdateSender(req *http.Request) (future OpenShiftClustersUpdateFuture, err error)
- type OpenShiftClustersCreateOrUpdateFuture
- type OpenShiftClustersDeleteFuture
- type OpenShiftClustersUpdateFuture
- type OpenShiftVersion
- type OpenShiftVersionList
- type OpenShiftVersionListIterator
- func (iter *OpenShiftVersionListIterator) Next() error
- func (iter *OpenShiftVersionListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OpenShiftVersionListIterator) NotDone() bool
- func (iter OpenShiftVersionListIterator) Response() OpenShiftVersionList
- func (iter OpenShiftVersionListIterator) Value() OpenShiftVersion
- type OpenShiftVersionListPage
- func (page *OpenShiftVersionListPage) Next() error
- func (page *OpenShiftVersionListPage) NextWithContext(ctx context.Context) (err error)
- func (page OpenShiftVersionListPage) NotDone() bool
- func (page OpenShiftVersionListPage) Response() OpenShiftVersionList
- func (page OpenShiftVersionListPage) Values() []OpenShiftVersion
- type OpenShiftVersionProperties
- type OpenShiftVersionsClient
- func (client OpenShiftVersionsClient) List(ctx context.Context, location string) (result OpenShiftVersionListPage, err error)
- func (client OpenShiftVersionsClient) ListComplete(ctx context.Context, location string) (result OpenShiftVersionListIterator, err error)
- func (client OpenShiftVersionsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
- func (client OpenShiftVersionsClient) ListResponder(resp *http.Response) (result OpenShiftVersionList, err error)
- func (client OpenShiftVersionsClient) ListSender(req *http.Request) (*http.Response, error)
- type Operation
- type OperationList
- type OperationListIterator
- type OperationListPage
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OutboundType
- type PlatformWorkloadIdentity
- type PlatformWorkloadIdentityProfile
- type PreconfiguredNSG
- type ProvisioningState
- type ProxyResource
- type Resource
- type Secret
- type SecretList
- type SecretListIterator
- type SecretListPage
- type SecretProperties
- type SecretUpdate
- type SecretsClient
- func (client SecretsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result Secret, err error)
- func (client SecretsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SecretsClient) CreateOrUpdateResponder(resp *http.Response) (result Secret, err error)
- func (client SecretsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SecretsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client SecretsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SecretsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SecretsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SecretsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result Secret, err error)
- func (client SecretsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SecretsClient) GetResponder(resp *http.Response) (result Secret, err error)
- func (client SecretsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SecretsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result SecretListPage, err error)
- func (client SecretsClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SecretListIterator, err error)
- func (client SecretsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client SecretsClient) ListResponder(resp *http.Response) (result SecretList, err error)
- func (client SecretsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SecretsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result Secret, err error)
- func (client SecretsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SecretsClient) UpdateResponder(resp *http.Response) (result Secret, err error)
- func (client SecretsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ServicePrincipalProfile
- type SyncIdentityProvider
- type SyncIdentityProviderList
- type SyncIdentityProviderListIterator
- func (iter *SyncIdentityProviderListIterator) Next() error
- func (iter *SyncIdentityProviderListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SyncIdentityProviderListIterator) NotDone() bool
- func (iter SyncIdentityProviderListIterator) Response() SyncIdentityProviderList
- func (iter SyncIdentityProviderListIterator) Value() SyncIdentityProvider
- type SyncIdentityProviderListPage
- func (page *SyncIdentityProviderListPage) Next() error
- func (page *SyncIdentityProviderListPage) NextWithContext(ctx context.Context) (err error)
- func (page SyncIdentityProviderListPage) NotDone() bool
- func (page SyncIdentityProviderListPage) Response() SyncIdentityProviderList
- func (page SyncIdentityProviderListPage) Values() []SyncIdentityProvider
- type SyncIdentityProviderProperties
- type SyncIdentityProviderUpdate
- type SyncIdentityProvidersClient
- func (client SyncIdentityProvidersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result SyncIdentityProvider, err error)
- func (client SyncIdentityProvidersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SyncIdentityProvidersClient) CreateOrUpdateResponder(resp *http.Response) (result SyncIdentityProvider, err error)
- func (client SyncIdentityProvidersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SyncIdentityProvidersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client SyncIdentityProvidersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SyncIdentityProvidersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncIdentityProvidersClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SyncIdentityProvidersClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result SyncIdentityProvider, err error)
- func (client SyncIdentityProvidersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SyncIdentityProvidersClient) GetResponder(resp *http.Response) (result SyncIdentityProvider, err error)
- func (client SyncIdentityProvidersClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SyncIdentityProvidersClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result SyncIdentityProviderListPage, err error)
- func (client SyncIdentityProvidersClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SyncIdentityProviderListIterator, err error)
- func (client SyncIdentityProvidersClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client SyncIdentityProvidersClient) ListResponder(resp *http.Response) (result SyncIdentityProviderList, err error)
- func (client SyncIdentityProvidersClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SyncIdentityProvidersClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result SyncIdentityProvider, err error)
- func (client SyncIdentityProvidersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SyncIdentityProvidersClient) UpdateResponder(resp *http.Response) (result SyncIdentityProvider, err error)
- func (client SyncIdentityProvidersClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SyncSet
- type SyncSetList
- type SyncSetListIterator
- type SyncSetListPage
- type SyncSetProperties
- type SyncSetUpdate
- type SyncSetsClient
- func (client SyncSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (result SyncSet, err error)
- func (client SyncSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SyncSetsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncSet, err error)
- func (client SyncSetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client SyncSetsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client SyncSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SyncSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SyncSetsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client SyncSetsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result SyncSet, err error)
- func (client SyncSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SyncSetsClient) GetResponder(resp *http.Response) (result SyncSet, err error)
- func (client SyncSetsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client SyncSetsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result SyncSetListPage, err error)
- func (client SyncSetsClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SyncSetListIterator, err error)
- func (client SyncSetsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client SyncSetsClient) ListResponder(resp *http.Response) (result SyncSetList, err error)
- func (client SyncSetsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client SyncSetsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result SyncSet, err error)
- func (client SyncSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client SyncSetsClient) UpdateResponder(resp *http.Response) (result SyncSet, err error)
- func (client SyncSetsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type SystemData
- type TrackedResource
- type Visibility
- type WorkerProfile
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Redhatopenshift
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type APIServerProfile ¶
type APIServerProfile struct { // Visibility - API server visibility. Possible values include: 'Private', 'Public' Visibility Visibility `json:"visibility,omitempty"` // URL - READ-ONLY; The URL to access the cluster API server. URL *string `json:"url,omitempty"` // IP - READ-ONLY; The IP of the cluster API server. IP *string `json:"ip,omitempty"` }
APIServerProfile aPIServerProfile represents an API server profile.
func (APIServerProfile) MarshalJSON ¶
func (asp APIServerProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for APIServerProfile.
type AzureEntityResource ¶
type AzureEntityResource struct { // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.
func (AzureEntityResource) MarshalJSON ¶
func (aer AzureEntityResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureEntityResource.
type BaseClient ¶
BaseClient is the base client for Redhatopenshift.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type CloudError ¶
type CloudError struct { // Error - An error response from the service. Error *CloudErrorBody `json:"error,omitempty"` }
CloudError cloudError represents a cloud error.
type CloudErrorBody ¶
type CloudErrorBody struct { // Code - An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // Message - A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` // Target - The target of the particular error. For example, the name of the property in error. Target *string `json:"target,omitempty"` // Details - A list of additional details about the error. Details *[]CloudErrorBody `json:"details,omitempty"` }
CloudErrorBody cloudErrorBody represents the body of a cloud error.
type ClusterProfile ¶
type ClusterProfile struct { // PullSecret - The pull secret for the cluster. PullSecret *string `json:"pullSecret,omitempty"` // Domain - The domain for the cluster. Domain *string `json:"domain,omitempty"` // Version - The version of the cluster. Version *string `json:"version,omitempty"` // ResourceGroupID - The ID of the cluster resource group. ResourceGroupID *string `json:"resourceGroupId,omitempty"` // FipsValidatedModules - If FIPS validated crypto modules are used. Possible values include: 'FipsValidatedModulesDisabled', 'FipsValidatedModulesEnabled' FipsValidatedModules FipsValidatedModules `json:"fipsValidatedModules,omitempty"` // OidcIssuer - The URL of the managed OIDC issuer in a workload identity cluster. OidcIssuer *string `json:"oidcIssuer,omitempty"` }
ClusterProfile clusterProfile represents a cluster profile.
type ClusterUserAssignedIdentity ¶
type ClusterUserAssignedIdentity struct { ClientID *string `json:"clientId,omitempty"` PrincipalID *string `json:"principalId,omitempty"` }
ClusterUserAssignedIdentity clusterUserAssignedIdentity stores information about a user-assigned managed identity in a predefined format required by Microsoft's Managed Identity team.
type ConsoleProfile ¶
type ConsoleProfile struct { // URL - READ-ONLY; The URL to access the cluster console. URL *string `json:"url,omitempty"` }
ConsoleProfile consoleProfile represents a console profile.
func (ConsoleProfile) MarshalJSON ¶
func (cp ConsoleProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConsoleProfile.
type CreatedByType ¶
type CreatedByType string
CreatedByType enumerates the values for created by type.
const ( // Application ... Application CreatedByType = "Application" // Key ... Key CreatedByType = "Key" // ManagedIdentity ... ManagedIdentity CreatedByType = "ManagedIdentity" // User ... User CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
type Display ¶
type Display struct { // Provider - Friendly name of the resource provider. Provider *string `json:"provider,omitempty"` // Resource - Resource type on which the operation is performed. Resource *string `json:"resource,omitempty"` // Operation - Operation type: read, write, delete, listKeys/action, etc. Operation *string `json:"operation,omitempty"` // Description - Friendly name of the operation. Description *string `json:"description,omitempty"` }
Display display represents the display details of an operation.
type EffectiveOutboundIP ¶
type EffectiveOutboundIP struct { // ID - The fully qualified Azure resource id of an IP address resource. ID *string `json:"id,omitempty"` }
EffectiveOutboundIP effectiveOutboundIP represents an effective outbound IP resource of the cluster public load balancer.
type EncryptionAtHost ¶
type EncryptionAtHost string
EncryptionAtHost enumerates the values for encryption at host.
const ( // Disabled ... Disabled EncryptionAtHost = "Disabled" // Enabled ... Enabled EncryptionAtHost = "Enabled" )
func PossibleEncryptionAtHostValues ¶
func PossibleEncryptionAtHostValues() []EncryptionAtHost
PossibleEncryptionAtHostValues returns an array of possible values for the EncryptionAtHost const type.
type FipsValidatedModules ¶
type FipsValidatedModules string
FipsValidatedModules enumerates the values for fips validated modules.
const ( // FipsValidatedModulesDisabled ... FipsValidatedModulesDisabled FipsValidatedModules = "Disabled" // FipsValidatedModulesEnabled ... FipsValidatedModulesEnabled FipsValidatedModules = "Enabled" )
func PossibleFipsValidatedModulesValues ¶
func PossibleFipsValidatedModulesValues() []FipsValidatedModules
PossibleFipsValidatedModulesValues returns an array of possible values for the FipsValidatedModules const type.
type Identity ¶
type Identity struct { Type *string `json:"type,omitempty"` UserAssignedIdentities map[string]*ClusterUserAssignedIdentity `json:"userAssignedIdentities"` }
Identity identity stores information about the cluster MSI(s) in a workload identity cluster.
func (Identity) MarshalJSON ¶
MarshalJSON is the custom marshaler for Identity.
type IngressProfile ¶
type IngressProfile struct { // Name - The ingress profile name. Name *string `json:"name,omitempty"` // Visibility - Ingress visibility. Possible values include: 'Private', 'Public' Visibility Visibility `json:"visibility,omitempty"` // IP - READ-ONLY; The IP of the ingress. IP *string `json:"ip,omitempty"` }
IngressProfile ingressProfile represents an ingress profile.
func (IngressProfile) MarshalJSON ¶
func (IP IngressProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for IngressProfile.
type LoadBalancerProfile ¶
type LoadBalancerProfile struct { // ManagedOutboundIps - The desired managed outbound IPs for the cluster public load balancer. ManagedOutboundIps *ManagedOutboundIPs `json:"managedOutboundIps,omitempty"` // EffectiveOutboundIps - READ-ONLY; The list of effective outbound IP addresses of the public load balancer. EffectiveOutboundIps *[]EffectiveOutboundIP `json:"effectiveOutboundIps,omitempty"` }
LoadBalancerProfile loadBalancerProfile represents the profile of the cluster public load balancer.
func (LoadBalancerProfile) MarshalJSON ¶
func (lbp LoadBalancerProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for LoadBalancerProfile.
type MachinePool ¶
type MachinePool struct { autorest.Response `json:"-"` // MachinePoolProperties - The MachinePool Properties *MachinePoolProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
MachinePool machinePool represents a MachinePool
func (MachinePool) MarshalJSON ¶
func (mp MachinePool) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MachinePool.
func (*MachinePool) UnmarshalJSON ¶
func (mp *MachinePool) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MachinePool struct.
type MachinePoolList ¶
type MachinePoolList struct { autorest.Response `json:"-"` // Value - The list of Machine Pools. Value *[]MachinePool `json:"value,omitempty"` // NextLink - The link used to get the next page of operations. NextLink *string `json:"nextLink,omitempty"` }
MachinePoolList machinePoolList represents a list of MachinePools
func (MachinePoolList) IsEmpty ¶
func (mpl MachinePoolList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type MachinePoolListIterator ¶
type MachinePoolListIterator struct {
// contains filtered or unexported fields
}
MachinePoolListIterator provides access to a complete listing of MachinePool values.
func NewMachinePoolListIterator ¶
func NewMachinePoolListIterator(page MachinePoolListPage) MachinePoolListIterator
Creates a new instance of the MachinePoolListIterator type.
func (*MachinePoolListIterator) Next ¶
func (iter *MachinePoolListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MachinePoolListIterator) NextWithContext ¶
func (iter *MachinePoolListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (MachinePoolListIterator) NotDone ¶
func (iter MachinePoolListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (MachinePoolListIterator) Response ¶
func (iter MachinePoolListIterator) Response() MachinePoolList
Response returns the raw server response from the last page request.
func (MachinePoolListIterator) Value ¶
func (iter MachinePoolListIterator) Value() MachinePool
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type MachinePoolListPage ¶
type MachinePoolListPage struct {
// contains filtered or unexported fields
}
MachinePoolListPage contains a page of MachinePool values.
func NewMachinePoolListPage ¶
func NewMachinePoolListPage(cur MachinePoolList, getNextPage func(context.Context, MachinePoolList) (MachinePoolList, error)) MachinePoolListPage
Creates a new instance of the MachinePoolListPage type.
func (*MachinePoolListPage) Next ¶
func (page *MachinePoolListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*MachinePoolListPage) NextWithContext ¶
func (page *MachinePoolListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (MachinePoolListPage) NotDone ¶
func (page MachinePoolListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (MachinePoolListPage) Response ¶
func (page MachinePoolListPage) Response() MachinePoolList
Response returns the raw server response from the last page request.
func (MachinePoolListPage) Values ¶
func (page MachinePoolListPage) Values() []MachinePool
Values returns the slice of values for the current page or nil if there are no values.
type MachinePoolProperties ¶
type MachinePoolProperties struct {
Resources *string `json:"resources,omitempty"`
}
MachinePoolProperties machinePoolProperties represents the properties of a MachinePool
type MachinePoolUpdate ¶
type MachinePoolUpdate struct { // MachinePoolProperties - The MachinePool Properties *MachinePoolProperties `json:"properties,omitempty"` // SystemData - READ-ONLY; The system meta data relating to this resource. SystemData *SystemData `json:"systemData,omitempty"` }
MachinePoolUpdate machinePool represents a MachinePool
func (MachinePoolUpdate) MarshalJSON ¶
func (mpu MachinePoolUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MachinePoolUpdate.
func (*MachinePoolUpdate) UnmarshalJSON ¶
func (mpu *MachinePoolUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for MachinePoolUpdate struct.
type MachinePoolsClient ¶
type MachinePoolsClient struct {
BaseClient
}
MachinePoolsClient is the rest API for Azure Red Hat OpenShift 4
func NewMachinePoolsClient ¶
func NewMachinePoolsClient(subscriptionID string) MachinePoolsClient
NewMachinePoolsClient creates an instance of the MachinePoolsClient client.
func NewMachinePoolsClientWithBaseURI ¶
func NewMachinePoolsClientWithBaseURI(baseURI string, subscriptionID string) MachinePoolsClient
NewMachinePoolsClientWithBaseURI creates an instance of the MachinePoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (MachinePoolsClient) CreateOrUpdate ¶
func (client MachinePoolsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters MachinePool) (result MachinePool, err error)
CreateOrUpdate the operation returns properties of a MachinePool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the MachinePool resource. parameters - the MachinePool resource.
func (MachinePoolsClient) CreateOrUpdatePreparer ¶
func (client MachinePoolsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters MachinePool) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (MachinePoolsClient) CreateOrUpdateResponder ¶
func (client MachinePoolsClient) CreateOrUpdateResponder(resp *http.Response) (result MachinePool, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (MachinePoolsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (MachinePoolsClient) Delete ¶
func (client MachinePoolsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (result autorest.Response, err error)
Delete the operation returns nothing. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the MachinePool resource.
func (MachinePoolsClient) DeletePreparer ¶
func (client MachinePoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (MachinePoolsClient) DeleteResponder ¶
func (client MachinePoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (MachinePoolsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (MachinePoolsClient) Get ¶
func (client MachinePoolsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (result MachinePool, err error)
Get the operation returns properties of a MachinePool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the MachinePool resource.
func (MachinePoolsClient) GetPreparer ¶
func (client MachinePoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (MachinePoolsClient) GetResponder ¶
func (client MachinePoolsClient) GetResponder(resp *http.Response) (result MachinePool, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (MachinePoolsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (MachinePoolsClient) List ¶
func (client MachinePoolsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result MachinePoolListPage, err error)
List the operation returns properties of each MachinePool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource.
func (MachinePoolsClient) ListComplete ¶
func (client MachinePoolsClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result MachinePoolListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (MachinePoolsClient) ListPreparer ¶
func (client MachinePoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (MachinePoolsClient) ListResponder ¶
func (client MachinePoolsClient) ListResponder(resp *http.Response) (result MachinePoolList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (MachinePoolsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (MachinePoolsClient) Update ¶
func (client MachinePoolsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters MachinePoolUpdate) (result MachinePool, err error)
Update the operation returns properties of a MachinePool. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the MachinePool resource. parameters - the MachinePool resource.
func (MachinePoolsClient) UpdatePreparer ¶
func (client MachinePoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters MachinePoolUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (MachinePoolsClient) UpdateResponder ¶
func (client MachinePoolsClient) UpdateResponder(resp *http.Response) (result MachinePool, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (MachinePoolsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ManagedOutboundIPs ¶
type ManagedOutboundIPs struct { // Count - Count represents the desired number of IPv4 outbound IPs created and managed by Azure for the cluster public load balancer. Allowed values are in the range of 1 - 20. The default value is 1. Count *int32 `json:"count,omitempty"` }
ManagedOutboundIPs managedOutboundIPs represents the desired managed outbound IPs for the cluster public load balancer.
type MasterProfile ¶
type MasterProfile struct { // VMSize - The size of the master VMs. VMSize *string `json:"vmSize,omitempty"` // SubnetID - The Azure resource ID of the master subnet. SubnetID *string `json:"subnetId,omitempty"` // EncryptionAtHost - Whether master virtual machines are encrypted at host. Possible values include: 'Disabled', 'Enabled' EncryptionAtHost EncryptionAtHost `json:"encryptionAtHost,omitempty"` // DiskEncryptionSetID - The resource ID of an associated DiskEncryptionSet, if applicable. DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty"` }
MasterProfile masterProfile represents a master profile.
type NetworkProfile ¶
type NetworkProfile struct { // PodCidr - The CIDR used for OpenShift/Kubernetes Pods. PodCidr *string `json:"podCidr,omitempty"` // ServiceCidr - The CIDR used for OpenShift/Kubernetes Services. ServiceCidr *string `json:"serviceCidr,omitempty"` // OutboundType - The OutboundType used for egress traffic. Possible values include: 'Loadbalancer', 'UserDefinedRouting' OutboundType OutboundType `json:"outboundType,omitempty"` // LoadBalancerProfile - The cluster load balancer profile. LoadBalancerProfile *LoadBalancerProfile `json:"loadBalancerProfile,omitempty"` // PreconfiguredNSG - Specifies whether subnets are pre-attached with an NSG. Possible values include: 'PreconfiguredNSGDisabled', 'PreconfiguredNSGEnabled' PreconfiguredNSG PreconfiguredNSG `json:"preconfiguredNSG,omitempty"` }
NetworkProfile networkProfile represents a network profile.
type OpenShiftCluster ¶
type OpenShiftCluster struct { autorest.Response `json:"-"` // OpenShiftClusterProperties - The cluster properties. *OpenShiftClusterProperties `json:"properties,omitempty"` // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
OpenShiftCluster openShiftCluster represents an Azure Red Hat OpenShift cluster.
func (OpenShiftCluster) MarshalJSON ¶
func (osc OpenShiftCluster) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OpenShiftCluster.
func (*OpenShiftCluster) UnmarshalJSON ¶
func (osc *OpenShiftCluster) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OpenShiftCluster struct.
type OpenShiftClusterAdminKubeconfig ¶
type OpenShiftClusterAdminKubeconfig struct { autorest.Response `json:"-"` // Kubeconfig - The base64-encoded kubeconfig file. Kubeconfig *string `json:"kubeconfig,omitempty"` }
OpenShiftClusterAdminKubeconfig openShiftClusterAdminKubeconfig represents an OpenShift cluster's admin kubeconfig.
type OpenShiftClusterCredentials ¶
type OpenShiftClusterCredentials struct { autorest.Response `json:"-"` // KubeadminUsername - The username for the kubeadmin user. KubeadminUsername *string `json:"kubeadminUsername,omitempty"` // KubeadminPassword - The password for the kubeadmin user. KubeadminPassword *string `json:"kubeadminPassword,omitempty"` }
OpenShiftClusterCredentials openShiftClusterCredentials represents an OpenShift cluster's credentials.
type OpenShiftClusterList ¶
type OpenShiftClusterList struct { autorest.Response `json:"-"` // Value - The list of OpenShift clusters. Value *[]OpenShiftCluster `json:"value,omitempty"` // NextLink - The link used to get the next page of operations. NextLink *string `json:"nextLink,omitempty"` }
OpenShiftClusterList openShiftClusterList represents a list of OpenShift clusters.
func (OpenShiftClusterList) IsEmpty ¶
func (oscl OpenShiftClusterList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OpenShiftClusterListIterator ¶
type OpenShiftClusterListIterator struct {
// contains filtered or unexported fields
}
OpenShiftClusterListIterator provides access to a complete listing of OpenShiftCluster values.
func NewOpenShiftClusterListIterator ¶
func NewOpenShiftClusterListIterator(page OpenShiftClusterListPage) OpenShiftClusterListIterator
Creates a new instance of the OpenShiftClusterListIterator type.
func (*OpenShiftClusterListIterator) Next ¶
func (iter *OpenShiftClusterListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OpenShiftClusterListIterator) NextWithContext ¶
func (iter *OpenShiftClusterListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OpenShiftClusterListIterator) NotDone ¶
func (iter OpenShiftClusterListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OpenShiftClusterListIterator) Response ¶
func (iter OpenShiftClusterListIterator) Response() OpenShiftClusterList
Response returns the raw server response from the last page request.
func (OpenShiftClusterListIterator) Value ¶
func (iter OpenShiftClusterListIterator) Value() OpenShiftCluster
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OpenShiftClusterListPage ¶
type OpenShiftClusterListPage struct {
// contains filtered or unexported fields
}
OpenShiftClusterListPage contains a page of OpenShiftCluster values.
func NewOpenShiftClusterListPage ¶
func NewOpenShiftClusterListPage(cur OpenShiftClusterList, getNextPage func(context.Context, OpenShiftClusterList) (OpenShiftClusterList, error)) OpenShiftClusterListPage
Creates a new instance of the OpenShiftClusterListPage type.
func (*OpenShiftClusterListPage) Next ¶
func (page *OpenShiftClusterListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OpenShiftClusterListPage) NextWithContext ¶
func (page *OpenShiftClusterListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OpenShiftClusterListPage) NotDone ¶
func (page OpenShiftClusterListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OpenShiftClusterListPage) Response ¶
func (page OpenShiftClusterListPage) Response() OpenShiftClusterList
Response returns the raw server response from the last page request.
func (OpenShiftClusterListPage) Values ¶
func (page OpenShiftClusterListPage) Values() []OpenShiftCluster
Values returns the slice of values for the current page or nil if there are no values.
type OpenShiftClusterProperties ¶
type OpenShiftClusterProperties struct { // ProvisioningState - The cluster provisioning state. Possible values include: 'AdminUpdating', 'Canceled', 'Creating', 'Deleting', 'Failed', 'Succeeded', 'Updating' ProvisioningState ProvisioningState `json:"provisioningState,omitempty"` // ClusterProfile - The cluster profile. ClusterProfile *ClusterProfile `json:"clusterProfile,omitempty"` // ConsoleProfile - The console profile. ConsoleProfile *ConsoleProfile `json:"consoleProfile,omitempty"` // ServicePrincipalProfile - The cluster service principal profile. ServicePrincipalProfile *ServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"` // PlatformWorkloadIdentityProfile - The workload identity profile. PlatformWorkloadIdentityProfile *PlatformWorkloadIdentityProfile `json:"platformWorkloadIdentityProfile,omitempty"` // NetworkProfile - The cluster network profile. NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` // MasterProfile - The cluster master profile. MasterProfile *MasterProfile `json:"masterProfile,omitempty"` // WorkerProfiles - The cluster worker profiles. WorkerProfiles *[]WorkerProfile `json:"workerProfiles,omitempty"` // WorkerProfilesStatus - READ-ONLY; The cluster worker profiles status. WorkerProfilesStatus *[]WorkerProfile `json:"workerProfilesStatus,omitempty"` // ApiserverProfile - The cluster API server profile. ApiserverProfile *APIServerProfile `json:"apiserverProfile,omitempty"` // IngressProfiles - The cluster ingress profiles. IngressProfiles *[]IngressProfile `json:"ingressProfiles,omitempty"` }
OpenShiftClusterProperties openShiftClusterProperties represents an OpenShift cluster's properties.
func (OpenShiftClusterProperties) MarshalJSON ¶
func (oscp OpenShiftClusterProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OpenShiftClusterProperties.
type OpenShiftClusterUpdate ¶
type OpenShiftClusterUpdate struct { // Tags - The resource tags. Tags map[string]*string `json:"tags"` // OpenShiftClusterProperties - The cluster properties. *OpenShiftClusterProperties `json:"properties,omitempty"` // Identity - Identity stores information about the cluster MSI(s) in a workload identity cluster. Identity *Identity `json:"identity,omitempty"` // SystemData - READ-ONLY; The system meta data relating to this resource. SystemData *SystemData `json:"systemData,omitempty"` }
OpenShiftClusterUpdate openShiftCluster represents an Azure Red Hat OpenShift cluster.
func (OpenShiftClusterUpdate) MarshalJSON ¶
func (oscu OpenShiftClusterUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OpenShiftClusterUpdate.
func (*OpenShiftClusterUpdate) UnmarshalJSON ¶
func (oscu *OpenShiftClusterUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OpenShiftClusterUpdate struct.
type OpenShiftClustersClient ¶
type OpenShiftClustersClient struct {
BaseClient
}
OpenShiftClustersClient is the rest API for Azure Red Hat OpenShift 4
func NewOpenShiftClustersClient ¶
func NewOpenShiftClustersClient(subscriptionID string) OpenShiftClustersClient
NewOpenShiftClustersClient creates an instance of the OpenShiftClustersClient client.
func NewOpenShiftClustersClientWithBaseURI ¶
func NewOpenShiftClustersClientWithBaseURI(baseURI string, subscriptionID string) OpenShiftClustersClient
NewOpenShiftClustersClientWithBaseURI creates an instance of the OpenShiftClustersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OpenShiftClustersClient) CreateOrUpdate ¶
func (client OpenShiftClustersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, parameters OpenShiftCluster) (result OpenShiftClustersCreateOrUpdateFuture, err error)
CreateOrUpdate the operation returns properties of a OpenShift cluster. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. parameters - the OpenShift cluster resource.
func (OpenShiftClustersClient) CreateOrUpdatePreparer ¶
func (client OpenShiftClustersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters OpenShiftCluster) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (OpenShiftClustersClient) CreateOrUpdateResponder ¶
func (client OpenShiftClustersClient) CreateOrUpdateResponder(resp *http.Response) (result OpenShiftCluster, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (OpenShiftClustersClient) CreateOrUpdateSender ¶
func (client OpenShiftClustersClient) CreateOrUpdateSender(req *http.Request) (future OpenShiftClustersCreateOrUpdateFuture, err error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (OpenShiftClustersClient) Delete ¶
func (client OpenShiftClustersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftClustersDeleteFuture, err error)
Delete the operation returns nothing. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource.
func (OpenShiftClustersClient) DeletePreparer ¶
func (client OpenShiftClustersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (OpenShiftClustersClient) DeleteResponder ¶
func (client OpenShiftClustersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (OpenShiftClustersClient) DeleteSender ¶
func (client OpenShiftClustersClient) DeleteSender(req *http.Request) (future OpenShiftClustersDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (OpenShiftClustersClient) Get ¶
func (client OpenShiftClustersClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftCluster, err error)
Get the operation returns properties of a OpenShift cluster. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource.
func (OpenShiftClustersClient) GetPreparer ¶
func (client OpenShiftClustersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (OpenShiftClustersClient) GetResponder ¶
func (client OpenShiftClustersClient) GetResponder(resp *http.Response) (result OpenShiftCluster, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (OpenShiftClustersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (OpenShiftClustersClient) List ¶
func (client OpenShiftClustersClient) List(ctx context.Context) (result OpenShiftClusterListPage, err error)
List the operation returns properties of each OpenShift cluster.
func (OpenShiftClustersClient) ListAdminCredentials ¶
func (client OpenShiftClustersClient) ListAdminCredentials(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftClusterAdminKubeconfig, err error)
ListAdminCredentials the operation returns the admin kubeconfig. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource.
func (OpenShiftClustersClient) ListAdminCredentialsPreparer ¶
func (client OpenShiftClustersClient) ListAdminCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListAdminCredentialsPreparer prepares the ListAdminCredentials request.
func (OpenShiftClustersClient) ListAdminCredentialsResponder ¶
func (client OpenShiftClustersClient) ListAdminCredentialsResponder(resp *http.Response) (result OpenShiftClusterAdminKubeconfig, err error)
ListAdminCredentialsResponder handles the response to the ListAdminCredentials request. The method always closes the http.Response Body.
func (OpenShiftClustersClient) ListAdminCredentialsSender ¶
func (client OpenShiftClustersClient) ListAdminCredentialsSender(req *http.Request) (*http.Response, error)
ListAdminCredentialsSender sends the ListAdminCredentials request. The method will close the http.Response Body if it receives an error.
func (OpenShiftClustersClient) ListByResourceGroup ¶
func (client OpenShiftClustersClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result OpenShiftClusterListPage, err error)
ListByResourceGroup the operation returns properties of each OpenShift cluster. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (OpenShiftClustersClient) ListByResourceGroupComplete ¶
func (client OpenShiftClustersClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result OpenShiftClusterListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (OpenShiftClustersClient) ListByResourceGroupPreparer ¶
func (client OpenShiftClustersClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (OpenShiftClustersClient) ListByResourceGroupResponder ¶
func (client OpenShiftClustersClient) ListByResourceGroupResponder(resp *http.Response) (result OpenShiftClusterList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (OpenShiftClustersClient) ListByResourceGroupSender ¶
func (client OpenShiftClustersClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (OpenShiftClustersClient) ListComplete ¶
func (client OpenShiftClustersClient) ListComplete(ctx context.Context) (result OpenShiftClusterListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OpenShiftClustersClient) ListCredentials ¶
func (client OpenShiftClustersClient) ListCredentials(ctx context.Context, resourceGroupName string, resourceName string) (result OpenShiftClusterCredentials, err error)
ListCredentials the operation returns the credentials. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource.
func (OpenShiftClustersClient) ListCredentialsPreparer ¶
func (client OpenShiftClustersClient) ListCredentialsPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListCredentialsPreparer prepares the ListCredentials request.
func (OpenShiftClustersClient) ListCredentialsResponder ¶
func (client OpenShiftClustersClient) ListCredentialsResponder(resp *http.Response) (result OpenShiftClusterCredentials, err error)
ListCredentialsResponder handles the response to the ListCredentials request. The method always closes the http.Response Body.
func (OpenShiftClustersClient) ListCredentialsSender ¶
func (client OpenShiftClustersClient) ListCredentialsSender(req *http.Request) (*http.Response, error)
ListCredentialsSender sends the ListCredentials request. The method will close the http.Response Body if it receives an error.
func (OpenShiftClustersClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OpenShiftClustersClient) ListResponder ¶
func (client OpenShiftClustersClient) ListResponder(resp *http.Response) (result OpenShiftClusterList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OpenShiftClustersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (OpenShiftClustersClient) Update ¶
func (client OpenShiftClustersClient) Update(ctx context.Context, resourceGroupName string, resourceName string, parameters OpenShiftClusterUpdate) (result OpenShiftClustersUpdateFuture, err error)
Update the operation returns properties of a OpenShift cluster. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. parameters - the OpenShift cluster resource.
func (OpenShiftClustersClient) UpdatePreparer ¶
func (client OpenShiftClustersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters OpenShiftClusterUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (OpenShiftClustersClient) UpdateResponder ¶
func (client OpenShiftClustersClient) UpdateResponder(resp *http.Response) (result OpenShiftCluster, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (OpenShiftClustersClient) UpdateSender ¶
func (client OpenShiftClustersClient) UpdateSender(req *http.Request) (future OpenShiftClustersUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type OpenShiftClustersCreateOrUpdateFuture ¶
type OpenShiftClustersCreateOrUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(OpenShiftClustersClient) (OpenShiftCluster, error) }
OpenShiftClustersCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftClustersCreateOrUpdateFuture) UnmarshalJSON ¶
func (future *OpenShiftClustersCreateOrUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type OpenShiftClustersDeleteFuture ¶
type OpenShiftClustersDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(OpenShiftClustersClient) (autorest.Response, error) }
OpenShiftClustersDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftClustersDeleteFuture) UnmarshalJSON ¶
func (future *OpenShiftClustersDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type OpenShiftClustersUpdateFuture ¶
type OpenShiftClustersUpdateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(OpenShiftClustersClient) (OpenShiftCluster, error) }
OpenShiftClustersUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*OpenShiftClustersUpdateFuture) UnmarshalJSON ¶
func (future *OpenShiftClustersUpdateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type OpenShiftVersion ¶
type OpenShiftVersion struct { // OpenShiftVersionProperties - The properties for the OpenShiftVersion resource. *OpenShiftVersionProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
OpenShiftVersion openShiftVersion represents an OpenShift version that can be installed.
func (OpenShiftVersion) MarshalJSON ¶
func (osv OpenShiftVersion) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OpenShiftVersion.
func (*OpenShiftVersion) UnmarshalJSON ¶
func (osv *OpenShiftVersion) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for OpenShiftVersion struct.
type OpenShiftVersionList ¶
type OpenShiftVersionList struct { autorest.Response `json:"-"` // Value - The List of available versions. Value *[]OpenShiftVersion `json:"value,omitempty"` // NextLink - Next Link to next operation. NextLink *string `json:"nextLink,omitempty"` }
OpenShiftVersionList openShiftVersionList represents a List of available versions.
func (OpenShiftVersionList) IsEmpty ¶
func (osvl OpenShiftVersionList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OpenShiftVersionListIterator ¶
type OpenShiftVersionListIterator struct {
// contains filtered or unexported fields
}
OpenShiftVersionListIterator provides access to a complete listing of OpenShiftVersion values.
func NewOpenShiftVersionListIterator ¶
func NewOpenShiftVersionListIterator(page OpenShiftVersionListPage) OpenShiftVersionListIterator
Creates a new instance of the OpenShiftVersionListIterator type.
func (*OpenShiftVersionListIterator) Next ¶
func (iter *OpenShiftVersionListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OpenShiftVersionListIterator) NextWithContext ¶
func (iter *OpenShiftVersionListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OpenShiftVersionListIterator) NotDone ¶
func (iter OpenShiftVersionListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OpenShiftVersionListIterator) Response ¶
func (iter OpenShiftVersionListIterator) Response() OpenShiftVersionList
Response returns the raw server response from the last page request.
func (OpenShiftVersionListIterator) Value ¶
func (iter OpenShiftVersionListIterator) Value() OpenShiftVersion
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OpenShiftVersionListPage ¶
type OpenShiftVersionListPage struct {
// contains filtered or unexported fields
}
OpenShiftVersionListPage contains a page of OpenShiftVersion values.
func NewOpenShiftVersionListPage ¶
func NewOpenShiftVersionListPage(cur OpenShiftVersionList, getNextPage func(context.Context, OpenShiftVersionList) (OpenShiftVersionList, error)) OpenShiftVersionListPage
Creates a new instance of the OpenShiftVersionListPage type.
func (*OpenShiftVersionListPage) Next ¶
func (page *OpenShiftVersionListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OpenShiftVersionListPage) NextWithContext ¶
func (page *OpenShiftVersionListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OpenShiftVersionListPage) NotDone ¶
func (page OpenShiftVersionListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OpenShiftVersionListPage) Response ¶
func (page OpenShiftVersionListPage) Response() OpenShiftVersionList
Response returns the raw server response from the last page request.
func (OpenShiftVersionListPage) Values ¶
func (page OpenShiftVersionListPage) Values() []OpenShiftVersion
Values returns the slice of values for the current page or nil if there are no values.
type OpenShiftVersionProperties ¶
type OpenShiftVersionProperties struct { // Version - Version represents the version to create the cluster at. Version *string `json:"version,omitempty"` }
OpenShiftVersionProperties openShiftVersionProperties represents the properties of an OpenShiftVersion.
type OpenShiftVersionsClient ¶
type OpenShiftVersionsClient struct {
BaseClient
}
OpenShiftVersionsClient is the rest API for Azure Red Hat OpenShift 4
func NewOpenShiftVersionsClient ¶
func NewOpenShiftVersionsClient(subscriptionID string) OpenShiftVersionsClient
NewOpenShiftVersionsClient creates an instance of the OpenShiftVersionsClient client.
func NewOpenShiftVersionsClientWithBaseURI ¶
func NewOpenShiftVersionsClientWithBaseURI(baseURI string, subscriptionID string) OpenShiftVersionsClient
NewOpenShiftVersionsClientWithBaseURI creates an instance of the OpenShiftVersionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OpenShiftVersionsClient) List ¶
func (client OpenShiftVersionsClient) List(ctx context.Context, location string) (result OpenShiftVersionListPage, err error)
List the operation returns the installable OpenShift versions as strings. Parameters: location - the name of Azure region.
func (OpenShiftVersionsClient) ListComplete ¶
func (client OpenShiftVersionsClient) ListComplete(ctx context.Context, location string) (result OpenShiftVersionListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OpenShiftVersionsClient) ListPreparer ¶
func (client OpenShiftVersionsClient) ListPreparer(ctx context.Context, location string) (*http.Request, error)
ListPreparer prepares the List request.
func (OpenShiftVersionsClient) ListResponder ¶
func (client OpenShiftVersionsClient) ListResponder(resp *http.Response) (result OpenShiftVersionList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OpenShiftVersionsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Operation ¶
type Operation struct { // Name - Operation name: {provider}/{resource}/{operation}. Name *string `json:"name,omitempty"` // Display - The object that describes the operation. Display *Display `json:"display,omitempty"` // Origin - Sources of requests to this operation. Comma separated list with valid values user or system, e.g. "user,system". Origin *string `json:"origin,omitempty"` }
Operation operation represents an RP operation.
type OperationList ¶
type OperationList struct { autorest.Response `json:"-"` // Value - List of operations supported by the resource provider. Value *[]Operation `json:"value,omitempty"` // NextLink - The link used to get the next page of operations. NextLink *string `json:"nextLink,omitempty"` }
OperationList operationList represents an RP operation list.
func (OperationList) IsEmpty ¶
func (ol OperationList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationListIterator ¶
type OperationListIterator struct {
// contains filtered or unexported fields
}
OperationListIterator provides access to a complete listing of Operation values.
func NewOperationListIterator ¶
func NewOperationListIterator(page OperationListPage) OperationListIterator
Creates a new instance of the OperationListIterator type.
func (*OperationListIterator) Next ¶
func (iter *OperationListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListIterator) NextWithContext ¶
func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationListIterator) NotDone ¶
func (iter OperationListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationListIterator) Response ¶
func (iter OperationListIterator) Response() OperationList
Response returns the raw server response from the last page request.
func (OperationListIterator) Value ¶
func (iter OperationListIterator) Value() Operation
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationListPage ¶
type OperationListPage struct {
// contains filtered or unexported fields
}
OperationListPage contains a page of Operation values.
func NewOperationListPage ¶
func NewOperationListPage(cur OperationList, getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage
Creates a new instance of the OperationListPage type.
func (*OperationListPage) Next ¶
func (page *OperationListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationListPage) NextWithContext ¶
func (page *OperationListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationListPage) NotDone ¶
func (page OperationListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationListPage) Response ¶
func (page OperationListPage) Response() OperationList
Response returns the raw server response from the last page request.
func (OperationListPage) Values ¶
func (page OperationListPage) Values() []Operation
Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the rest API for Azure Red Hat OpenShift 4
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)
List the operation returns the RP operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type OutboundType ¶
type OutboundType string
OutboundType enumerates the values for outbound type.
const ( // Loadbalancer ... Loadbalancer OutboundType = "Loadbalancer" // UserDefinedRouting ... UserDefinedRouting OutboundType = "UserDefinedRouting" )
func PossibleOutboundTypeValues ¶
func PossibleOutboundTypeValues() []OutboundType
PossibleOutboundTypeValues returns an array of possible values for the OutboundType const type.
type PlatformWorkloadIdentity ¶
type PlatformWorkloadIdentity struct { OperatorName *string `json:"operatorName,omitempty"` ResourceID *string `json:"resourceId,omitempty"` // ClientID - READ-ONLY ClientID *string `json:"clientId,omitempty"` // ObjectID - READ-ONLY ObjectID *string `json:"objectId,omitempty"` }
PlatformWorkloadIdentity platformWorkloadIdentity stores information representing a single workload identity.
func (PlatformWorkloadIdentity) MarshalJSON ¶
func (pwi PlatformWorkloadIdentity) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for PlatformWorkloadIdentity.
type PlatformWorkloadIdentityProfile ¶
type PlatformWorkloadIdentityProfile struct {
PlatformWorkloadIdentities *[]PlatformWorkloadIdentity `json:"platformWorkloadIdentities,omitempty"`
}
PlatformWorkloadIdentityProfile platformWorkloadIdentityProfile encapsulates all information that is specific to workload identity clusters.
type PreconfiguredNSG ¶
type PreconfiguredNSG string
PreconfiguredNSG enumerates the values for preconfigured nsg.
const ( // PreconfiguredNSGDisabled ... PreconfiguredNSGDisabled PreconfiguredNSG = "Disabled" // PreconfiguredNSGEnabled ... PreconfiguredNSGEnabled PreconfiguredNSG = "Enabled" )
func PossiblePreconfiguredNSGValues ¶
func PossiblePreconfiguredNSGValues() []PreconfiguredNSG
PossiblePreconfiguredNSGValues returns an array of possible values for the PreconfiguredNSG const type.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState enumerates the values for provisioning state.
const ( // AdminUpdating ... AdminUpdating ProvisioningState = "AdminUpdating" // Canceled ... Canceled ProvisioningState = "Canceled" // Creating ... Creating ProvisioningState = "Creating" // Deleting ... Deleting ProvisioningState = "Deleting" // Failed ... Failed ProvisioningState = "Failed" // Succeeded ... Succeeded ProvisioningState = "Succeeded" // Updating ... Updating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.
type ProxyResource ¶
type ProxyResource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
func (ProxyResource) MarshalJSON ¶
func (pr ProxyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProxyResource.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
Resource common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type Secret ¶
type Secret struct { autorest.Response `json:"-"` // SecretProperties - The Secret Properties *SecretProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
Secret secret represents a secret.
func (Secret) MarshalJSON ¶
MarshalJSON is the custom marshaler for Secret.
func (*Secret) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Secret struct.
type SecretList ¶
type SecretList struct { autorest.Response `json:"-"` // Value - The list of secrets. Value *[]Secret `json:"value,omitempty"` // NextLink - The link used to get the next page of operations. NextLink *string `json:"nextLink,omitempty"` }
SecretList secretList represents a list of Secrets
func (SecretList) IsEmpty ¶
func (sl SecretList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SecretListIterator ¶
type SecretListIterator struct {
// contains filtered or unexported fields
}
SecretListIterator provides access to a complete listing of Secret values.
func NewSecretListIterator ¶
func NewSecretListIterator(page SecretListPage) SecretListIterator
Creates a new instance of the SecretListIterator type.
func (*SecretListIterator) Next ¶
func (iter *SecretListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SecretListIterator) NextWithContext ¶
func (iter *SecretListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SecretListIterator) NotDone ¶
func (iter SecretListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SecretListIterator) Response ¶
func (iter SecretListIterator) Response() SecretList
Response returns the raw server response from the last page request.
func (SecretListIterator) Value ¶
func (iter SecretListIterator) Value() Secret
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SecretListPage ¶
type SecretListPage struct {
// contains filtered or unexported fields
}
SecretListPage contains a page of Secret values.
func NewSecretListPage ¶
func NewSecretListPage(cur SecretList, getNextPage func(context.Context, SecretList) (SecretList, error)) SecretListPage
Creates a new instance of the SecretListPage type.
func (*SecretListPage) Next ¶
func (page *SecretListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SecretListPage) NextWithContext ¶
func (page *SecretListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SecretListPage) NotDone ¶
func (page SecretListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SecretListPage) Response ¶
func (page SecretListPage) Response() SecretList
Response returns the raw server response from the last page request.
func (SecretListPage) Values ¶
func (page SecretListPage) Values() []Secret
Values returns the slice of values for the current page or nil if there are no values.
type SecretProperties ¶
type SecretProperties struct { // SecretResources - The Secrets Resources. SecretResources *string `json:"secretResources,omitempty"` }
SecretProperties secretProperties represents the properties of a Secret
type SecretUpdate ¶
type SecretUpdate struct { // SecretProperties - The Secret Properties *SecretProperties `json:"properties,omitempty"` // SystemData - READ-ONLY; The system meta data relating to this resource. SystemData *SystemData `json:"systemData,omitempty"` }
SecretUpdate secret represents a secret.
func (SecretUpdate) MarshalJSON ¶
func (su SecretUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SecretUpdate.
func (*SecretUpdate) UnmarshalJSON ¶
func (su *SecretUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SecretUpdate struct.
type SecretsClient ¶
type SecretsClient struct {
BaseClient
}
SecretsClient is the rest API for Azure Red Hat OpenShift 4
func NewSecretsClient ¶
func NewSecretsClient(subscriptionID string) SecretsClient
NewSecretsClient creates an instance of the SecretsClient client.
func NewSecretsClientWithBaseURI ¶
func NewSecretsClientWithBaseURI(baseURI string, subscriptionID string) SecretsClient
NewSecretsClientWithBaseURI creates an instance of the SecretsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SecretsClient) CreateOrUpdate ¶
func (client SecretsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters Secret) (result Secret, err error)
CreateOrUpdate the operation returns properties of a Secret. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the Secret resource. parameters - the Secret resource.
func (SecretsClient) CreateOrUpdatePreparer ¶
func (client SecretsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters Secret) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SecretsClient) CreateOrUpdateResponder ¶
func (client SecretsClient) CreateOrUpdateResponder(resp *http.Response) (result Secret, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SecretsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SecretsClient) Delete ¶
func (client SecretsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (result autorest.Response, err error)
Delete the operation returns nothing. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the Secret resource.
func (SecretsClient) DeletePreparer ¶
func (client SecretsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SecretsClient) DeleteResponder ¶
func (client SecretsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SecretsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SecretsClient) Get ¶
func (client SecretsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (result Secret, err error)
Get the operation returns properties of a Secret. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the Secret resource.
func (SecretsClient) GetPreparer ¶
func (client SecretsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SecretsClient) GetResponder ¶
func (client SecretsClient) GetResponder(resp *http.Response) (result Secret, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SecretsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SecretsClient) List ¶
func (client SecretsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result SecretListPage, err error)
List the operation returns properties of each Secret. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource.
func (SecretsClient) ListComplete ¶
func (client SecretsClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SecretListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SecretsClient) ListPreparer ¶
func (client SecretsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SecretsClient) ListResponder ¶
func (client SecretsClient) ListResponder(resp *http.Response) (result SecretList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SecretsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SecretsClient) Update ¶
func (client SecretsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SecretUpdate) (result Secret, err error)
Update the operation returns properties of a Secret. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the Secret resource. parameters - the Secret resource.
func (SecretsClient) UpdatePreparer ¶
func (client SecretsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SecretUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SecretsClient) UpdateResponder ¶
func (client SecretsClient) UpdateResponder(resp *http.Response) (result Secret, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SecretsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ServicePrincipalProfile ¶
type ServicePrincipalProfile struct { // ClientID - The client ID used for the cluster. ClientID *string `json:"clientId,omitempty"` // ClientSecret - The client secret used for the cluster. ClientSecret *string `json:"clientSecret,omitempty"` }
ServicePrincipalProfile servicePrincipalProfile represents a service principal profile.
type SyncIdentityProvider ¶
type SyncIdentityProvider struct { autorest.Response `json:"-"` // SyncIdentityProviderProperties - The SyncIdentityProvider Properties *SyncIdentityProviderProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
SyncIdentityProvider syncIdentityProvider represents a SyncIdentityProvider
func (SyncIdentityProvider) MarshalJSON ¶
func (sip SyncIdentityProvider) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncIdentityProvider.
func (*SyncIdentityProvider) UnmarshalJSON ¶
func (sip *SyncIdentityProvider) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SyncIdentityProvider struct.
type SyncIdentityProviderList ¶
type SyncIdentityProviderList struct { autorest.Response `json:"-"` // Value - The list of sync identity providers Value *[]SyncIdentityProvider `json:"value,omitempty"` // NextLink - The link used to get the next page of operations. NextLink *string `json:"nextLink,omitempty"` }
SyncIdentityProviderList syncSetList represents a list of SyncSets
func (SyncIdentityProviderList) IsEmpty ¶
func (sipl SyncIdentityProviderList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncIdentityProviderListIterator ¶
type SyncIdentityProviderListIterator struct {
// contains filtered or unexported fields
}
SyncIdentityProviderListIterator provides access to a complete listing of SyncIdentityProvider values.
func NewSyncIdentityProviderListIterator ¶
func NewSyncIdentityProviderListIterator(page SyncIdentityProviderListPage) SyncIdentityProviderListIterator
Creates a new instance of the SyncIdentityProviderListIterator type.
func (*SyncIdentityProviderListIterator) Next ¶
func (iter *SyncIdentityProviderListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SyncIdentityProviderListIterator) NextWithContext ¶
func (iter *SyncIdentityProviderListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncIdentityProviderListIterator) NotDone ¶
func (iter SyncIdentityProviderListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncIdentityProviderListIterator) Response ¶
func (iter SyncIdentityProviderListIterator) Response() SyncIdentityProviderList
Response returns the raw server response from the last page request.
func (SyncIdentityProviderListIterator) Value ¶
func (iter SyncIdentityProviderListIterator) Value() SyncIdentityProvider
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncIdentityProviderListPage ¶
type SyncIdentityProviderListPage struct {
// contains filtered or unexported fields
}
SyncIdentityProviderListPage contains a page of SyncIdentityProvider values.
func NewSyncIdentityProviderListPage ¶
func NewSyncIdentityProviderListPage(cur SyncIdentityProviderList, getNextPage func(context.Context, SyncIdentityProviderList) (SyncIdentityProviderList, error)) SyncIdentityProviderListPage
Creates a new instance of the SyncIdentityProviderListPage type.
func (*SyncIdentityProviderListPage) Next ¶
func (page *SyncIdentityProviderListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SyncIdentityProviderListPage) NextWithContext ¶
func (page *SyncIdentityProviderListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncIdentityProviderListPage) NotDone ¶
func (page SyncIdentityProviderListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncIdentityProviderListPage) Response ¶
func (page SyncIdentityProviderListPage) Response() SyncIdentityProviderList
Response returns the raw server response from the last page request.
func (SyncIdentityProviderListPage) Values ¶
func (page SyncIdentityProviderListPage) Values() []SyncIdentityProvider
Values returns the slice of values for the current page or nil if there are no values.
type SyncIdentityProviderProperties ¶
type SyncIdentityProviderProperties struct {
Resources *string `json:"resources,omitempty"`
}
SyncIdentityProviderProperties syncSetProperties represents the properties of a SyncSet
type SyncIdentityProviderUpdate ¶
type SyncIdentityProviderUpdate struct { // SyncIdentityProviderProperties - The SyncIdentityProvider Properties *SyncIdentityProviderProperties `json:"properties,omitempty"` // SystemData - READ-ONLY; The system meta data relating to this resource. SystemData *SystemData `json:"systemData,omitempty"` }
SyncIdentityProviderUpdate syncIdentityProvider represents a SyncIdentityProvider
func (SyncIdentityProviderUpdate) MarshalJSON ¶
func (sipu SyncIdentityProviderUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncIdentityProviderUpdate.
func (*SyncIdentityProviderUpdate) UnmarshalJSON ¶
func (sipu *SyncIdentityProviderUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SyncIdentityProviderUpdate struct.
type SyncIdentityProvidersClient ¶
type SyncIdentityProvidersClient struct {
BaseClient
}
SyncIdentityProvidersClient is the rest API for Azure Red Hat OpenShift 4
func NewSyncIdentityProvidersClient ¶
func NewSyncIdentityProvidersClient(subscriptionID string) SyncIdentityProvidersClient
NewSyncIdentityProvidersClient creates an instance of the SyncIdentityProvidersClient client.
func NewSyncIdentityProvidersClientWithBaseURI ¶
func NewSyncIdentityProvidersClientWithBaseURI(baseURI string, subscriptionID string) SyncIdentityProvidersClient
NewSyncIdentityProvidersClientWithBaseURI creates an instance of the SyncIdentityProvidersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SyncIdentityProvidersClient) CreateOrUpdate ¶
func (client SyncIdentityProvidersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SyncIdentityProvider) (result SyncIdentityProvider, err error)
CreateOrUpdate the operation returns properties of a SyncIdentityProvider. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the SyncIdentityProvider resource. parameters - the SyncIdentityProvider resource.
func (SyncIdentityProvidersClient) CreateOrUpdatePreparer ¶
func (client SyncIdentityProvidersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SyncIdentityProvider) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SyncIdentityProvidersClient) CreateOrUpdateResponder ¶
func (client SyncIdentityProvidersClient) CreateOrUpdateResponder(resp *http.Response) (result SyncIdentityProvider, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SyncIdentityProvidersClient) CreateOrUpdateSender ¶
func (client SyncIdentityProvidersClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SyncIdentityProvidersClient) Delete ¶
func (client SyncIdentityProvidersClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (result autorest.Response, err error)
Delete the operation returns nothing. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the SyncIdentityProvider resource.
func (SyncIdentityProvidersClient) DeletePreparer ¶
func (client SyncIdentityProvidersClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SyncIdentityProvidersClient) DeleteResponder ¶
func (client SyncIdentityProvidersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SyncIdentityProvidersClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SyncIdentityProvidersClient) Get ¶
func (client SyncIdentityProvidersClient) Get(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (result SyncIdentityProvider, err error)
Get the operation returns properties of a SyncIdentityProvider. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the SyncIdentityProvider resource.
func (SyncIdentityProvidersClient) GetPreparer ¶
func (client SyncIdentityProvidersClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SyncIdentityProvidersClient) GetResponder ¶
func (client SyncIdentityProvidersClient) GetResponder(resp *http.Response) (result SyncIdentityProvider, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SyncIdentityProvidersClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SyncIdentityProvidersClient) List ¶
func (client SyncIdentityProvidersClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result SyncIdentityProviderListPage, err error)
List the operation returns properties of each SyncIdentityProvider. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource.
func (SyncIdentityProvidersClient) ListComplete ¶
func (client SyncIdentityProvidersClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SyncIdentityProviderListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncIdentityProvidersClient) ListPreparer ¶
func (client SyncIdentityProvidersClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SyncIdentityProvidersClient) ListResponder ¶
func (client SyncIdentityProvidersClient) ListResponder(resp *http.Response) (result SyncIdentityProviderList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SyncIdentityProvidersClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SyncIdentityProvidersClient) Update ¶
func (client SyncIdentityProvidersClient) Update(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SyncIdentityProviderUpdate) (result SyncIdentityProvider, err error)
Update the operation returns properties of a SyncIdentityProvider. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the SyncIdentityProvider resource. parameters - the SyncIdentityProvider resource.
func (SyncIdentityProvidersClient) UpdatePreparer ¶
func (client SyncIdentityProvidersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SyncIdentityProviderUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SyncIdentityProvidersClient) UpdateResponder ¶
func (client SyncIdentityProvidersClient) UpdateResponder(resp *http.Response) (result SyncIdentityProvider, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SyncIdentityProvidersClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SyncSet ¶
type SyncSet struct { autorest.Response `json:"-"` // SyncSetProperties - The Syncsets properties *SyncSetProperties `json:"properties,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
SyncSet syncSet represents a SyncSet for an Azure Red Hat OpenShift Cluster.
func (SyncSet) MarshalJSON ¶
MarshalJSON is the custom marshaler for SyncSet.
func (*SyncSet) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for SyncSet struct.
type SyncSetList ¶
type SyncSetList struct { autorest.Response `json:"-"` // Value - The list of syncsets. Value *[]SyncSet `json:"value,omitempty"` // NextLink - The link used to get the next page of operations. NextLink *string `json:"nextLink,omitempty"` }
SyncSetList syncSetList represents a list of SyncSets
func (SyncSetList) IsEmpty ¶
func (ssl SyncSetList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type SyncSetListIterator ¶
type SyncSetListIterator struct {
// contains filtered or unexported fields
}
SyncSetListIterator provides access to a complete listing of SyncSet values.
func NewSyncSetListIterator ¶
func NewSyncSetListIterator(page SyncSetListPage) SyncSetListIterator
Creates a new instance of the SyncSetListIterator type.
func (*SyncSetListIterator) Next ¶
func (iter *SyncSetListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SyncSetListIterator) NextWithContext ¶
func (iter *SyncSetListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (SyncSetListIterator) NotDone ¶
func (iter SyncSetListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SyncSetListIterator) Response ¶
func (iter SyncSetListIterator) Response() SyncSetList
Response returns the raw server response from the last page request.
func (SyncSetListIterator) Value ¶
func (iter SyncSetListIterator) Value() SyncSet
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type SyncSetListPage ¶
type SyncSetListPage struct {
// contains filtered or unexported fields
}
SyncSetListPage contains a page of SyncSet values.
func NewSyncSetListPage ¶
func NewSyncSetListPage(cur SyncSetList, getNextPage func(context.Context, SyncSetList) (SyncSetList, error)) SyncSetListPage
Creates a new instance of the SyncSetListPage type.
func (*SyncSetListPage) Next ¶
func (page *SyncSetListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*SyncSetListPage) NextWithContext ¶
func (page *SyncSetListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (SyncSetListPage) NotDone ¶
func (page SyncSetListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (SyncSetListPage) Response ¶
func (page SyncSetListPage) Response() SyncSetList
Response returns the raw server response from the last page request.
func (SyncSetListPage) Values ¶
func (page SyncSetListPage) Values() []SyncSet
Values returns the slice of values for the current page or nil if there are no values.
type SyncSetProperties ¶
type SyncSetProperties struct { // Resources - Resources represents the SyncSets configuration. Resources *string `json:"resources,omitempty"` }
SyncSetProperties syncSetProperties represents the properties of a SyncSet
type SyncSetUpdate ¶
type SyncSetUpdate struct { // SyncSetProperties - The Syncsets properties *SyncSetProperties `json:"properties,omitempty"` // SystemData - READ-ONLY; The system meta data relating to this resource. SystemData *SystemData `json:"systemData,omitempty"` }
SyncSetUpdate syncSet represents a SyncSet for an Azure Red Hat OpenShift Cluster.
func (SyncSetUpdate) MarshalJSON ¶
func (ssu SyncSetUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SyncSetUpdate.
func (*SyncSetUpdate) UnmarshalJSON ¶
func (ssu *SyncSetUpdate) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for SyncSetUpdate struct.
type SyncSetsClient ¶
type SyncSetsClient struct {
BaseClient
}
SyncSetsClient is the rest API for Azure Red Hat OpenShift 4
func NewSyncSetsClient ¶
func NewSyncSetsClient(subscriptionID string) SyncSetsClient
NewSyncSetsClient creates an instance of the SyncSetsClient client.
func NewSyncSetsClientWithBaseURI ¶
func NewSyncSetsClientWithBaseURI(baseURI string, subscriptionID string) SyncSetsClient
NewSyncSetsClientWithBaseURI creates an instance of the SyncSetsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (SyncSetsClient) CreateOrUpdate ¶
func (client SyncSetsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SyncSet) (result SyncSet, err error)
CreateOrUpdate the operation returns properties of a SyncSet. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the SyncSet resource. parameters - the SyncSet resource.
func (SyncSetsClient) CreateOrUpdatePreparer ¶
func (client SyncSetsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SyncSet) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (SyncSetsClient) CreateOrUpdateResponder ¶
func (client SyncSetsClient) CreateOrUpdateResponder(resp *http.Response) (result SyncSet, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (SyncSetsClient) CreateOrUpdateSender ¶
CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.
func (SyncSetsClient) Delete ¶
func (client SyncSetsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (result autorest.Response, err error)
Delete the operation returns nothing. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the SyncSet resource.
func (SyncSetsClient) DeletePreparer ¶
func (client SyncSetsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (SyncSetsClient) DeleteResponder ¶
func (client SyncSetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (SyncSetsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (SyncSetsClient) Get ¶
func (client SyncSetsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (result SyncSet, err error)
Get the operation returns properties of a SyncSet. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the SyncSet resource.
func (SyncSetsClient) GetPreparer ¶
func (client SyncSetsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (SyncSetsClient) GetResponder ¶
func (client SyncSetsClient) GetResponder(resp *http.Response) (result SyncSet, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (SyncSetsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (SyncSetsClient) List ¶
func (client SyncSetsClient) List(ctx context.Context, resourceGroupName string, resourceName string) (result SyncSetListPage, err error)
List the operation returns properties of each SyncSet. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource.
func (SyncSetsClient) ListComplete ¶
func (client SyncSetsClient) ListComplete(ctx context.Context, resourceGroupName string, resourceName string) (result SyncSetListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (SyncSetsClient) ListPreparer ¶
func (client SyncSetsClient) ListPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListPreparer prepares the List request.
func (SyncSetsClient) ListResponder ¶
func (client SyncSetsClient) ListResponder(resp *http.Response) (result SyncSetList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (SyncSetsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (SyncSetsClient) Update ¶
func (client SyncSetsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SyncSetUpdate) (result SyncSet, err error)
Update the operation returns properties of a SyncSet. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. resourceName - the name of the OpenShift cluster resource. childResourceName - the name of the SyncSet resource. parameters - the SyncSet resource.
func (SyncSetsClient) UpdatePreparer ¶
func (client SyncSetsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, childResourceName string, parameters SyncSetUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (SyncSetsClient) UpdateResponder ¶
func (client SyncSetsClient) UpdateResponder(resp *http.Response) (result SyncSet, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (SyncSetsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type SystemData ¶
type SystemData struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC). CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'User', 'Application', 'ManagedIdentity', 'Key' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemData metadata pertaining to creation and last modification of the resource.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type Visibility ¶
type Visibility string
Visibility enumerates the values for visibility.
const ( // Private ... Private Visibility = "Private" // Public ... Public Visibility = "Public" )
func PossibleVisibilityValues ¶
func PossibleVisibilityValues() []Visibility
PossibleVisibilityValues returns an array of possible values for the Visibility const type.
type WorkerProfile ¶
type WorkerProfile struct { // Name - The worker profile name. Name *string `json:"name,omitempty"` // VMSize - The size of the worker VMs. VMSize *string `json:"vmSize,omitempty"` // DiskSizeGB - The disk size of the worker VMs. DiskSizeGB *int32 `json:"diskSizeGB,omitempty"` // SubnetID - The Azure resource ID of the worker subnet. SubnetID *string `json:"subnetId,omitempty"` // Count - The number of worker VMs. Count *int32 `json:"count,omitempty"` // EncryptionAtHost - Whether master virtual machines are encrypted at host. Possible values include: 'Disabled', 'Enabled' EncryptionAtHost EncryptionAtHost `json:"encryptionAtHost,omitempty"` // DiskEncryptionSetID - The resource ID of an associated DiskEncryptionSet, if applicable. DiskEncryptionSetID *string `json:"diskEncryptionSetId,omitempty"` }
WorkerProfile workerProfile represents a worker profile.