Documentation ¶
Index ¶
- func PossibleValuesForClusterNodeType() []string
- func PossibleValuesForDiagnosticLevel() []string
- func PossibleValuesForImdsAttestation() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSoftwareAssuranceIntent() []string
- func PossibleValuesForSoftwareAssuranceStatus() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForWindowsServerSubscription() []string
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- type Cluster
- type ClusterClient
- func (c ClusterClient) CreateIdentity(ctx context.Context, id ClusterId) (result CreateIdentityOperationResponse, err error)
- func (c ClusterClient) CreateIdentityThenPoll(ctx context.Context, id ClusterId) error
- func (c ClusterClient) ExtendSoftwareAssuranceBenefit(ctx context.Context, id ClusterId, input SoftwareAssuranceChangeRequest) (result ExtendSoftwareAssuranceBenefitOperationResponse, err error)
- func (c ClusterClient) ExtendSoftwareAssuranceBenefitThenPoll(ctx context.Context, id ClusterId, input SoftwareAssuranceChangeRequest) error
- func (c ClusterClient) UploadCertificate(ctx context.Context, id ClusterId, input UploadCertificateRequest) (result UploadCertificateOperationResponse, err error)
- func (c ClusterClient) UploadCertificateThenPoll(ctx context.Context, id ClusterId, input UploadCertificateRequest) error
- type ClusterDesiredProperties
- type ClusterId
- type ClusterIdentityResponse
- type ClusterIdentityResponseProperties
- type ClusterNode
- type ClusterNodeType
- type ClusterProperties
- func (o *ClusterProperties) GetLastBillingTimestampAsTime() (*time.Time, error)
- func (o *ClusterProperties) GetLastSyncTimestampAsTime() (*time.Time, error)
- func (o *ClusterProperties) GetRegistrationTimestampAsTime() (*time.Time, error)
- func (o *ClusterProperties) SetLastBillingTimestampAsTime(input time.Time)
- func (o *ClusterProperties) SetLastSyncTimestampAsTime(input time.Time)
- func (o *ClusterProperties) SetRegistrationTimestampAsTime(input time.Time)
- type ClusterReportedProperties
- type CreateIdentityOperationResponse
- type DiagnosticLevel
- type ExtendSoftwareAssuranceBenefitOperationResponse
- type ImdsAttestation
- type ProvisioningState
- type RawCertificateData
- type SoftwareAssuranceChangeRequest
- type SoftwareAssuranceChangeRequestProperties
- type SoftwareAssuranceIntent
- type SoftwareAssuranceProperties
- type SoftwareAssuranceStatus
- type Status
- type UploadCertificateOperationResponse
- type UploadCertificateRequest
- type WindowsServerSubscription
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForClusterNodeType ¶
func PossibleValuesForClusterNodeType() []string
func PossibleValuesForDiagnosticLevel ¶
func PossibleValuesForDiagnosticLevel() []string
func PossibleValuesForImdsAttestation ¶
func PossibleValuesForImdsAttestation() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSoftwareAssuranceIntent ¶
func PossibleValuesForSoftwareAssuranceIntent() []string
func PossibleValuesForSoftwareAssuranceStatus ¶
func PossibleValuesForSoftwareAssuranceStatus() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForWindowsServerSubscription ¶
func PossibleValuesForWindowsServerSubscription() []string
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
Types ¶
type Cluster ¶
type Cluster struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ClusterProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ClusterClient ¶
func NewClusterClientWithBaseURI ¶
func NewClusterClientWithBaseURI(endpoint string) ClusterClient
func (ClusterClient) CreateIdentity ¶
func (c ClusterClient) CreateIdentity(ctx context.Context, id ClusterId) (result CreateIdentityOperationResponse, err error)
CreateIdentity ...
func (ClusterClient) CreateIdentityThenPoll ¶
func (c ClusterClient) CreateIdentityThenPoll(ctx context.Context, id ClusterId) error
CreateIdentityThenPoll performs CreateIdentity then polls until it's completed
func (ClusterClient) ExtendSoftwareAssuranceBenefit ¶
func (c ClusterClient) ExtendSoftwareAssuranceBenefit(ctx context.Context, id ClusterId, input SoftwareAssuranceChangeRequest) (result ExtendSoftwareAssuranceBenefitOperationResponse, err error)
ExtendSoftwareAssuranceBenefit ...
func (ClusterClient) ExtendSoftwareAssuranceBenefitThenPoll ¶
func (c ClusterClient) ExtendSoftwareAssuranceBenefitThenPoll(ctx context.Context, id ClusterId, input SoftwareAssuranceChangeRequest) error
ExtendSoftwareAssuranceBenefitThenPoll performs ExtendSoftwareAssuranceBenefit then polls until it's completed
func (ClusterClient) UploadCertificate ¶
func (c ClusterClient) UploadCertificate(ctx context.Context, id ClusterId, input UploadCertificateRequest) (result UploadCertificateOperationResponse, err error)
UploadCertificate ...
func (ClusterClient) UploadCertificateThenPoll ¶
func (c ClusterClient) UploadCertificateThenPoll(ctx context.Context, id ClusterId, input UploadCertificateRequest) error
UploadCertificateThenPoll performs UploadCertificate then polls until it's completed
type ClusterDesiredProperties ¶
type ClusterDesiredProperties struct { DiagnosticLevel *DiagnosticLevel `json:"diagnosticLevel,omitempty"` WindowsServerSubscription *WindowsServerSubscription `json:"windowsServerSubscription,omitempty"` }
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type ClusterIdentityResponse ¶
type ClusterIdentityResponse struct {
Properties *ClusterIdentityResponseProperties `json:"properties,omitempty"`
}
type ClusterIdentityResponseProperties ¶
type ClusterIdentityResponseProperties struct { AadApplicationObjectId *string `json:"aadApplicationObjectId,omitempty"` AadClientId *string `json:"aadClientId,omitempty"` AadServicePrincipalObjectId *string `json:"aadServicePrincipalObjectId,omitempty"` AadTenantId *string `json:"aadTenantId,omitempty"` }
type ClusterNode ¶
type ClusterNode struct { CoreCount *float64 `json:"coreCount,omitempty"` Id *float64 `json:"id,omitempty"` Manufacturer *string `json:"manufacturer,omitempty"` MemoryInGiB *float64 `json:"memoryInGiB,omitempty"` Model *string `json:"model,omitempty"` Name *string `json:"name,omitempty"` NodeType *ClusterNodeType `json:"nodeType,omitempty"` OsDisplayVersion *string `json:"osDisplayVersion,omitempty"` OsName *string `json:"osName,omitempty"` OsVersion *string `json:"osVersion,omitempty"` SerialNumber *string `json:"serialNumber,omitempty"` WindowsServerSubscription *WindowsServerSubscription `json:"windowsServerSubscription,omitempty"` }
type ClusterNodeType ¶
type ClusterNodeType string
const ( ClusterNodeTypeFirstParty ClusterNodeType = "FirstParty" ClusterNodeTypeThirdParty ClusterNodeType = "ThirdParty" )
type ClusterProperties ¶
type ClusterProperties struct { AadApplicationObjectId *string `json:"aadApplicationObjectId,omitempty"` AadClientId *string `json:"aadClientId,omitempty"` AadServicePrincipalObjectId *string `json:"aadServicePrincipalObjectId,omitempty"` AadTenantId *string `json:"aadTenantId,omitempty"` BillingModel *string `json:"billingModel,omitempty"` CloudId *string `json:"cloudId,omitempty"` CloudManagementEndpoint *string `json:"cloudManagementEndpoint,omitempty"` DesiredProperties *ClusterDesiredProperties `json:"desiredProperties,omitempty"` LastBillingTimestamp *string `json:"lastBillingTimestamp,omitempty"` LastSyncTimestamp *string `json:"lastSyncTimestamp,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RegistrationTimestamp *string `json:"registrationTimestamp,omitempty"` ReportedProperties *ClusterReportedProperties `json:"reportedProperties,omitempty"` ServiceEndpoint *string `json:"serviceEndpoint,omitempty"` SoftwareAssuranceProperties *SoftwareAssuranceProperties `json:"softwareAssuranceProperties,omitempty"` Status *Status `json:"status,omitempty"` TrialDaysRemaining *float64 `json:"trialDaysRemaining,omitempty"` }
func (*ClusterProperties) GetLastBillingTimestampAsTime ¶
func (o *ClusterProperties) GetLastBillingTimestampAsTime() (*time.Time, error)
func (*ClusterProperties) GetLastSyncTimestampAsTime ¶
func (o *ClusterProperties) GetLastSyncTimestampAsTime() (*time.Time, error)
func (*ClusterProperties) GetRegistrationTimestampAsTime ¶
func (o *ClusterProperties) GetRegistrationTimestampAsTime() (*time.Time, error)
func (*ClusterProperties) SetLastBillingTimestampAsTime ¶
func (o *ClusterProperties) SetLastBillingTimestampAsTime(input time.Time)
func (*ClusterProperties) SetLastSyncTimestampAsTime ¶
func (o *ClusterProperties) SetLastSyncTimestampAsTime(input time.Time)
func (*ClusterProperties) SetRegistrationTimestampAsTime ¶
func (o *ClusterProperties) SetRegistrationTimestampAsTime(input time.Time)
type ClusterReportedProperties ¶
type ClusterReportedProperties struct { ClusterId *string `json:"clusterId,omitempty"` ClusterName *string `json:"clusterName,omitempty"` ClusterVersion *string `json:"clusterVersion,omitempty"` DiagnosticLevel *DiagnosticLevel `json:"diagnosticLevel,omitempty"` ImdsAttestation *ImdsAttestation `json:"imdsAttestation,omitempty"` LastUpdated *string `json:"lastUpdated,omitempty"` Nodes *[]ClusterNode `json:"nodes,omitempty"` }
func (*ClusterReportedProperties) GetLastUpdatedAsTime ¶
func (o *ClusterReportedProperties) GetLastUpdatedAsTime() (*time.Time, error)
func (*ClusterReportedProperties) SetLastUpdatedAsTime ¶
func (o *ClusterReportedProperties) SetLastUpdatedAsTime(input time.Time)
type CreateIdentityOperationResponse ¶
type CreateIdentityOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DiagnosticLevel ¶
type DiagnosticLevel string
const ( DiagnosticLevelBasic DiagnosticLevel = "Basic" DiagnosticLevelEnhanced DiagnosticLevel = "Enhanced" DiagnosticLevelOff DiagnosticLevel = "Off" )
type ExtendSoftwareAssuranceBenefitOperationResponse ¶
type ExtendSoftwareAssuranceBenefitOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ImdsAttestation ¶
type ImdsAttestation string
const ( ImdsAttestationDisabled ImdsAttestation = "Disabled" ImdsAttestationEnabled ImdsAttestation = "Enabled" )
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type RawCertificateData ¶
type RawCertificateData struct {
Certificates *[]string `json:"certificates,omitempty"`
}
type SoftwareAssuranceChangeRequest ¶
type SoftwareAssuranceChangeRequest struct {
Properties *SoftwareAssuranceChangeRequestProperties `json:"properties,omitempty"`
}
type SoftwareAssuranceChangeRequestProperties ¶
type SoftwareAssuranceChangeRequestProperties struct {
SoftwareAssuranceIntent *SoftwareAssuranceIntent `json:"softwareAssuranceIntent,omitempty"`
}
type SoftwareAssuranceIntent ¶
type SoftwareAssuranceIntent string
const ( SoftwareAssuranceIntentDisable SoftwareAssuranceIntent = "Disable" SoftwareAssuranceIntentEnable SoftwareAssuranceIntent = "Enable" )
type SoftwareAssuranceProperties ¶
type SoftwareAssuranceProperties struct { LastUpdated *string `json:"lastUpdated,omitempty"` SoftwareAssuranceIntent *SoftwareAssuranceIntent `json:"softwareAssuranceIntent,omitempty"` SoftwareAssuranceStatus *SoftwareAssuranceStatus `json:"softwareAssuranceStatus,omitempty"` }
func (*SoftwareAssuranceProperties) GetLastUpdatedAsTime ¶
func (o *SoftwareAssuranceProperties) GetLastUpdatedAsTime() (*time.Time, error)
func (*SoftwareAssuranceProperties) SetLastUpdatedAsTime ¶
func (o *SoftwareAssuranceProperties) SetLastUpdatedAsTime(input time.Time)
type SoftwareAssuranceStatus ¶
type SoftwareAssuranceStatus string
const ( SoftwareAssuranceStatusDisabled SoftwareAssuranceStatus = "Disabled" SoftwareAssuranceStatusEnabled SoftwareAssuranceStatus = "Enabled" )
type UploadCertificateOperationResponse ¶
type UploadCertificateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type UploadCertificateRequest ¶
type UploadCertificateRequest struct {
Properties *RawCertificateData `json:"properties,omitempty"`
}
type WindowsServerSubscription ¶
type WindowsServerSubscription string
const ( WindowsServerSubscriptionDisabled WindowsServerSubscription = "Disabled" WindowsServerSubscriptionEnabled WindowsServerSubscription = "Enabled" )
Source Files ¶
- client.go
- constants.go
- id_cluster.go
- method_createidentity_autorest.go
- method_extendsoftwareassurancebenefit_autorest.go
- method_uploadcertificate_autorest.go
- model_cluster.go
- model_clusterdesiredproperties.go
- model_clusteridentityresponse.go
- model_clusteridentityresponseproperties.go
- model_clusternode.go
- model_clusterproperties.go
- model_clusterreportedproperties.go
- model_rawcertificatedata.go
- model_softwareassurancechangerequest.go
- model_softwareassurancechangerequestproperties.go
- model_softwareassuranceproperties.go
- model_uploadcertificaterequest.go
- version.go