Versions in this module Expand all Collapse all v1 v1.1.4 Sep 7, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type ActivationKeyResult struct + ActivationKey *string + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type Category string + const ADFS + const AzureAD + func PossibleCategoryValues() []Category + type CloudManifestFileClient struct + func NewCloudManifestFileClient(subscriptionID string) CloudManifestFileClient + func NewCloudManifestFileClientWithBaseURI(baseURI string, subscriptionID string) CloudManifestFileClient + func (client CloudManifestFileClient) Get(ctx context.Context, verificationVersion string, versionCreationDate string) (result CloudManifestFileResponse, err error) + func (client CloudManifestFileClient) GetPreparer(ctx context.Context, verificationVersion string, versionCreationDate string) (*http.Request, error) + func (client CloudManifestFileClient) GetResponder(resp *http.Response) (result CloudManifestFileResponse, err error) + func (client CloudManifestFileClient) GetSender(req *http.Request) (*http.Response, error) + func (client CloudManifestFileClient) List(ctx context.Context) (result CloudManifestFileResponse, err error) + func (client CloudManifestFileClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client CloudManifestFileClient) ListResponder(resp *http.Response) (result CloudManifestFileResponse, err error) + func (client CloudManifestFileClient) ListSender(req *http.Request) (*http.Response, error) + type CloudManifestFileDeploymentData struct + CustomCloudVerificationKey *string + ExternalDsmsCertificates *string + func (cmfdd *CloudManifestFileDeploymentData) UnmarshalJSON(body []byte) error + func (cmfdd CloudManifestFileDeploymentData) MarshalJSON() ([]byte, error) + type CloudManifestFileEnvironmentEndpoints struct + CustomCloudArmEndpoint *string + ExternalDsmsEndpoint *string + type CloudManifestFileProperties struct + DeploymentData *CloudManifestFileDeploymentData + Signature *string + type CloudManifestFileResponse struct + Etag *string + ID *string + Name *string + Properties *CloudManifestFileProperties + Type *string + func (cmfr CloudManifestFileResponse) MarshalJSON() ([]byte, error) + type Compatibility struct + Description *string + IsCompatible *bool + Issues *[]CompatibilityIssue + Message *string + type CompatibilityIssue string + const ADFSIdentitySystemRequired + const AzureADIdentitySystemRequired + const CapacityBillingModelRequired + const ConnectionToAzureRequired + const ConnectionToInternetRequired + const DevelopmentBillingModelRequired + const DisconnectedEnvironmentRequired + const HigherDeviceVersionRequired + const LowerDeviceVersionRequired + const PayAsYouGoBillingModelRequired + func PossibleCompatibilityIssueValues() []CompatibilityIssue + type ComputeRole string + const IaaS + const None + const PaaS + func PossibleComputeRoleValues() []ComputeRole + type CustomerSubscription struct + Etag *string + ID *string + Name *string + Type *string + func (cs *CustomerSubscription) UnmarshalJSON(body []byte) error + func (cs CustomerSubscription) MarshalJSON() ([]byte, error) + type CustomerSubscriptionList struct + NextLink *string + Value *[]CustomerSubscription + func (csl CustomerSubscriptionList) IsEmpty() bool + type CustomerSubscriptionListIterator struct + func NewCustomerSubscriptionListIterator(page CustomerSubscriptionListPage) CustomerSubscriptionListIterator + func (iter *CustomerSubscriptionListIterator) Next() error + func (iter *CustomerSubscriptionListIterator) NextWithContext(ctx context.Context) (err error) + func (iter CustomerSubscriptionListIterator) NotDone() bool + func (iter CustomerSubscriptionListIterator) Response() CustomerSubscriptionList + func (iter CustomerSubscriptionListIterator) Value() CustomerSubscription + type CustomerSubscriptionListPage struct + func NewCustomerSubscriptionListPage(cur CustomerSubscriptionList, ...) CustomerSubscriptionListPage + func (page *CustomerSubscriptionListPage) Next() error + func (page *CustomerSubscriptionListPage) NextWithContext(ctx context.Context) (err error) + func (page CustomerSubscriptionListPage) NotDone() bool + func (page CustomerSubscriptionListPage) Response() CustomerSubscriptionList + func (page CustomerSubscriptionListPage) Values() []CustomerSubscription + type CustomerSubscriptionProperties struct + TenantID *string + type CustomerSubscriptionsClient struct + func NewCustomerSubscriptionsClient(subscriptionID string) CustomerSubscriptionsClient + func NewCustomerSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) CustomerSubscriptionsClient + func (client CustomerSubscriptionsClient) Create(ctx context.Context, resourceGroup string, registrationName string, ...) (result CustomerSubscription, err error) + func (client CustomerSubscriptionsClient) CreatePreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client CustomerSubscriptionsClient) CreateResponder(resp *http.Response) (result CustomerSubscription, err error) + func (client CustomerSubscriptionsClient) CreateSender(req *http.Request) (*http.Response, error) + func (client CustomerSubscriptionsClient) Delete(ctx context.Context, resourceGroup string, registrationName string, ...) (result autorest.Response, err error) + func (client CustomerSubscriptionsClient) DeletePreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client CustomerSubscriptionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client CustomerSubscriptionsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client CustomerSubscriptionsClient) Get(ctx context.Context, resourceGroup string, registrationName string, ...) (result CustomerSubscription, err error) + func (client CustomerSubscriptionsClient) GetPreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client CustomerSubscriptionsClient) GetResponder(resp *http.Response) (result CustomerSubscription, err error) + func (client CustomerSubscriptionsClient) GetSender(req *http.Request) (*http.Response, error) + func (client CustomerSubscriptionsClient) List(ctx context.Context, resourceGroup string, registrationName string) (result CustomerSubscriptionListPage, err error) + func (client CustomerSubscriptionsClient) ListComplete(ctx context.Context, resourceGroup string, registrationName string) (result CustomerSubscriptionListIterator, err error) + func (client CustomerSubscriptionsClient) ListPreparer(ctx context.Context, resourceGroup string, registrationName string) (*http.Request, error) + func (client CustomerSubscriptionsClient) ListResponder(resp *http.Response) (result CustomerSubscriptionList, err error) + func (client CustomerSubscriptionsClient) ListSender(req *http.Request) (*http.Response, error) + type DataDiskImage struct + Lun *int32 + SourceBlobSasURI *string + func (ddi DataDiskImage) MarshalJSON() ([]byte, error) + type DeviceConfiguration struct + DeviceVersion *string + IdentitySystem Category + func (dc DeviceConfiguration) MarshalJSON() ([]byte, error) + type Display struct + Description *string + Operation *string + Provider *string + Resource *string + type ErrorDetails struct + Code *string + Message *string + Target *string + func (ed ErrorDetails) MarshalJSON() ([]byte, error) + type ErrorResponse struct + Error *ErrorDetails + type ExtendedProduct struct + GalleryPackageBlobSasURI *string + ProductKind *string + func (ep *ExtendedProduct) UnmarshalJSON(body []byte) error + func (ep ExtendedProduct) MarshalJSON() ([]byte, error) + type ExtendedProductProperties struct + ComputeRole ComputeRole + DataDiskImages *[]DataDiskImage + IsSystemExtension *bool + OsDiskImage *OsDiskImage + SupportMultipleExtensions *bool + VMOsType OperatingSystem + VMScaleSetEnabled *bool + Version *string + func (epp *ExtendedProductProperties) UnmarshalJSON(body []byte) error + func (epp ExtendedProductProperties) MarshalJSON() ([]byte, error) + type IconUris struct + Hero *string + Large *string + Medium *string + Small *string + Wide *string + type MarketplaceProductLogUpdate struct + Details *string + Error *string + Operation *string + Status *string + func (mplu MarketplaceProductLogUpdate) MarshalJSON() ([]byte, error) + type OperatingSystem string + const OperatingSystemLinux + const OperatingSystemNone + const OperatingSystemWindows + func PossibleOperatingSystemValues() []OperatingSystem + type Operation struct + Display *Display + Name *string + Origin *string + type OperationList struct + NextLink *string + Value *[]Operation + func (ol OperationList) IsEmpty() bool + type OperationListIterator struct + func NewOperationListIterator(page OperationListPage) OperationListIterator + func (iter *OperationListIterator) Next() error + func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListIterator) NotDone() bool + func (iter OperationListIterator) Response() OperationList + func (iter OperationListIterator) Value() Operation + type OperationListPage struct + func NewOperationListPage(cur OperationList, ...) OperationListPage + func (page *OperationListPage) Next() error + func (page *OperationListPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListPage) NotDone() bool + func (page OperationListPage) Response() OperationList + func (page OperationListPage) Values() []Operation + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) 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 OsDiskImage struct + OperatingSystem OperatingSystem + SourceBlobSasURI *string + func (odi OsDiskImage) MarshalJSON() ([]byte, error) + type Product struct + Etag *string + ID *string + Name *string + Type *string + func (p *Product) UnmarshalJSON(body []byte) error + func (p Product) MarshalJSON() ([]byte, error) + type ProductLink struct + DisplayName *string + URI *string + type ProductList struct + NextLink *string + Value *[]Product + func (pl ProductList) IsEmpty() bool + type ProductListIterator struct + func NewProductListIterator(page ProductListPage) ProductListIterator + func (iter *ProductListIterator) Next() error + func (iter *ProductListIterator) NextWithContext(ctx context.Context) (err error) + func (iter ProductListIterator) NotDone() bool + func (iter ProductListIterator) Response() ProductList + func (iter ProductListIterator) Value() Product + type ProductListPage struct + func NewProductListPage(cur ProductList, ...) ProductListPage + func (page *ProductListPage) Next() error + func (page *ProductListPage) NextWithContext(ctx context.Context) (err error) + func (page ProductListPage) NotDone() bool + func (page ProductListPage) Response() ProductList + func (page ProductListPage) Values() []Product + type ProductLog struct + Details *string + EndDate *string + Error *string + ID *string + Operation *string + ProductID *string + RegistrationName *string + ResourceGroupName *string + StartDate *string + Status *string + SubscriptionID *string + func (pl ProductLog) MarshalJSON() ([]byte, error) + type ProductNestedProperties struct + BillingPartNumber *string + Compatibility *Compatibility + Description *string + DisplayName *string + GalleryItemIdentity *string + IconUris *IconUris + LegalTerms *string + Links *[]ProductLink + Offer *string + OfferVersion *string + PayloadLength *int64 + PrivacyPolicy *string + ProductKind *string + ProductProperties *ProductProperties + PublisherDisplayName *string + PublisherIdentifier *string + Sku *string + VMExtensionType *string + type ProductProperties struct + Version *string + type ProductsClient struct + func NewProductsClient(subscriptionID string) ProductsClient + func NewProductsClientWithBaseURI(baseURI string, subscriptionID string) ProductsClient + func (client ProductsClient) Get(ctx context.Context, resourceGroup string, registrationName string, ...) (result Product, err error) + func (client ProductsClient) GetPreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client ProductsClient) GetProduct(ctx context.Context, resourceGroup string, registrationName string, ...) (result Product, err error) + func (client ProductsClient) GetProductPreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client ProductsClient) GetProductResponder(resp *http.Response) (result Product, err error) + func (client ProductsClient) GetProductSender(req *http.Request) (*http.Response, error) + func (client ProductsClient) GetProducts(ctx context.Context, resourceGroup string, registrationName string, ...) (result ProductList, err error) + func (client ProductsClient) GetProductsPreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client ProductsClient) GetProductsResponder(resp *http.Response) (result ProductList, err error) + func (client ProductsClient) GetProductsSender(req *http.Request) (*http.Response, error) + func (client ProductsClient) GetResponder(resp *http.Response) (result Product, err error) + func (client ProductsClient) GetSender(req *http.Request) (*http.Response, error) + func (client ProductsClient) List(ctx context.Context, resourceGroup string, registrationName string) (result ProductListPage, err error) + func (client ProductsClient) ListComplete(ctx context.Context, resourceGroup string, registrationName string) (result ProductListIterator, err error) + func (client ProductsClient) ListDetails(ctx context.Context, resourceGroup string, registrationName string, ...) (result ExtendedProduct, err error) + func (client ProductsClient) ListDetailsPreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client ProductsClient) ListDetailsResponder(resp *http.Response) (result ExtendedProduct, err error) + func (client ProductsClient) ListDetailsSender(req *http.Request) (*http.Response, error) + func (client ProductsClient) ListPreparer(ctx context.Context, resourceGroup string, registrationName string) (*http.Request, error) + func (client ProductsClient) ListResponder(resp *http.Response) (result ProductList, err error) + func (client ProductsClient) ListSender(req *http.Request) (*http.Response, error) + func (client ProductsClient) UploadLog(ctx context.Context, resourceGroup string, registrationName string, ...) (result ProductLog, err error) + func (client ProductsClient) UploadLogPreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client ProductsClient) UploadLogResponder(resp *http.Response) (result ProductLog, err error) + func (client ProductsClient) UploadLogSender(req *http.Request) (*http.Response, error) + type ProvisioningState string + const Canceled + const Creating + const Failed + const Succeeded + func PossibleProvisioningStateValues() []ProvisioningState + type Registration struct + Etag *string + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (r *Registration) UnmarshalJSON(body []byte) error + func (r Registration) MarshalJSON() ([]byte, error) + type RegistrationList struct + NextLink *string + Value *[]Registration + func (rl RegistrationList) IsEmpty() bool + type RegistrationListIterator struct + func NewRegistrationListIterator(page RegistrationListPage) RegistrationListIterator + func (iter *RegistrationListIterator) Next() error + func (iter *RegistrationListIterator) NextWithContext(ctx context.Context) (err error) + func (iter RegistrationListIterator) NotDone() bool + func (iter RegistrationListIterator) Response() RegistrationList + func (iter RegistrationListIterator) Value() Registration + type RegistrationListPage struct + func NewRegistrationListPage(cur RegistrationList, ...) RegistrationListPage + func (page *RegistrationListPage) Next() error + func (page *RegistrationListPage) NextWithContext(ctx context.Context) (err error) + func (page RegistrationListPage) NotDone() bool + func (page RegistrationListPage) Response() RegistrationList + func (page RegistrationListPage) Values() []Registration + type RegistrationParameter struct + Location *string + func (rp *RegistrationParameter) UnmarshalJSON(body []byte) error + func (rp RegistrationParameter) MarshalJSON() ([]byte, error) + type RegistrationParameterProperties struct + RegistrationToken *string + type RegistrationProperties struct + BillingModel *string + CloudID *string + ObjectID *string + type RegistrationsClient struct + func NewRegistrationsClient(subscriptionID string) RegistrationsClient + func NewRegistrationsClientWithBaseURI(baseURI string, subscriptionID string) RegistrationsClient + func (client RegistrationsClient) CreateOrUpdate(ctx context.Context, resourceGroup string, registrationName string, ...) (result Registration, err error) + func (client RegistrationsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client RegistrationsClient) CreateOrUpdateResponder(resp *http.Response) (result Registration, err error) + func (client RegistrationsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client RegistrationsClient) Delete(ctx context.Context, resourceGroup string, registrationName string) (result autorest.Response, err error) + func (client RegistrationsClient) DeletePreparer(ctx context.Context, resourceGroup string, registrationName string) (*http.Request, error) + func (client RegistrationsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client RegistrationsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client RegistrationsClient) Get(ctx context.Context, resourceGroup string, registrationName string) (result Registration, err error) + func (client RegistrationsClient) GetActivationKey(ctx context.Context, resourceGroup string, registrationName string) (result ActivationKeyResult, err error) + func (client RegistrationsClient) GetActivationKeyPreparer(ctx context.Context, resourceGroup string, registrationName string) (*http.Request, error) + func (client RegistrationsClient) GetActivationKeyResponder(resp *http.Response) (result ActivationKeyResult, err error) + func (client RegistrationsClient) GetActivationKeySender(req *http.Request) (*http.Response, error) + func (client RegistrationsClient) GetPreparer(ctx context.Context, resourceGroup string, registrationName string) (*http.Request, error) + func (client RegistrationsClient) GetResponder(resp *http.Response) (result Registration, err error) + func (client RegistrationsClient) GetSender(req *http.Request) (*http.Response, error) + func (client RegistrationsClient) List(ctx context.Context, resourceGroup string) (result RegistrationListPage, err error) + func (client RegistrationsClient) ListComplete(ctx context.Context, resourceGroup string) (result RegistrationListIterator, err error) + func (client RegistrationsClient) ListPreparer(ctx context.Context, resourceGroup string) (*http.Request, error) + func (client RegistrationsClient) ListResponder(resp *http.Response) (result RegistrationList, err error) + func (client RegistrationsClient) ListSender(req *http.Request) (*http.Response, error) + func (client RegistrationsClient) Update(ctx context.Context, resourceGroup string, registrationName string, ...) (result Registration, err error) + func (client RegistrationsClient) UpdatePreparer(ctx context.Context, resourceGroup string, registrationName string, ...) (*http.Request, error) + func (client RegistrationsClient) UpdateResponder(resp *http.Response) (result Registration, err error) + func (client RegistrationsClient) UpdateSender(req *http.Request) (*http.Response, error) + type Resource struct + Etag *string + ID *string + Name *string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type TrackedResource struct + Etag *string + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (tr TrackedResource) MarshalJSON() ([]byte, error) + type URI struct + URI *string + func (u URI) MarshalJSON() ([]byte, error) + type VirtualMachineExtensionProductProperties struct + ComputeRole ComputeRole + IsSystemExtension *bool + SupportMultipleExtensions *bool + VMOsType OperatingSystem + VMScaleSetEnabled *bool + Version *string + func (vmepp *VirtualMachineExtensionProductProperties) UnmarshalJSON(body []byte) error + func (vmepp VirtualMachineExtensionProductProperties) MarshalJSON() ([]byte, error) + type VirtualMachineProductProperties struct + DataDiskImages *[]DataDiskImage + OsDiskImage *OsDiskImage + Version *string + func (vmpp VirtualMachineProductProperties) MarshalJSON() ([]byte, error)