azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/windowsesu/2019-09-16-preview/windowsesu Index | Files | Directories

package windowsesu

import "github.com/Azure/azure-sdk-for-go/services/preview/windowsesu/2019-09-16-preview/windowsesu"

Package windowsesu implements the Azure ARM Windowsesu service API version 2019-09-16-preview.

Manage Multi-Access Keys (MAK) that enable Windows Extended Security Updates (ESU).

Index

Package Files

client.go enums.go models.go multipleactivationkeys.go operations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Windowsesu
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type AzureEntityResource Uses

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"`
}

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Windowsesu.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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 ErrorDefinition Uses

type ErrorDefinition struct {
    // Code - READ-ONLY; Service specific error code which serves as the substatus for the HTTP error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; Description of the error.
    Message *string `json:"message,omitempty"`
    // Details - READ-ONLY; Internal error details.
    Details *[]ErrorDefinition `json:"details,omitempty"`
}

ErrorDefinition error definition.

type ErrorResponse Uses

type ErrorResponse struct {
    // Error - The error details.
    Error *ErrorDefinition `json:"error,omitempty"`
}

ErrorResponse error response.

type MultipleActivationKey Uses

type MultipleActivationKey struct {
    autorest.Response `json:"-"`
    // MultipleActivationKeyProperties - MAK key specific properties.
    *MultipleActivationKeyProperties `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"`
}

MultipleActivationKey MAK key details.

func (MultipleActivationKey) MarshalJSON Uses

func (mak MultipleActivationKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MultipleActivationKey.

func (*MultipleActivationKey) UnmarshalJSON Uses

func (mak *MultipleActivationKey) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MultipleActivationKey struct.

type MultipleActivationKeyList Uses

type MultipleActivationKeyList struct {
    autorest.Response `json:"-"`
    // Value - List of MAK keys.
    Value *[]MultipleActivationKey `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

MultipleActivationKeyList list of MAK keys.

func (MultipleActivationKeyList) IsEmpty Uses

func (makl MultipleActivationKeyList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (MultipleActivationKeyList) MarshalJSON Uses

func (makl MultipleActivationKeyList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MultipleActivationKeyList.

type MultipleActivationKeyListIterator Uses

type MultipleActivationKeyListIterator struct {
    // contains filtered or unexported fields
}

MultipleActivationKeyListIterator provides access to a complete listing of MultipleActivationKey values.

func NewMultipleActivationKeyListIterator Uses

func NewMultipleActivationKeyListIterator(page MultipleActivationKeyListPage) MultipleActivationKeyListIterator

Creates a new instance of the MultipleActivationKeyListIterator type.

func (*MultipleActivationKeyListIterator) Next Uses

func (iter *MultipleActivationKeyListIterator) 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 (*MultipleActivationKeyListIterator) NextWithContext Uses

func (iter *MultipleActivationKeyListIterator) 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 (MultipleActivationKeyListIterator) NotDone Uses

func (iter MultipleActivationKeyListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (MultipleActivationKeyListIterator) Response Uses

func (iter MultipleActivationKeyListIterator) Response() MultipleActivationKeyList

Response returns the raw server response from the last page request.

func (MultipleActivationKeyListIterator) Value Uses

func (iter MultipleActivationKeyListIterator) Value() MultipleActivationKey

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type MultipleActivationKeyListPage Uses

type MultipleActivationKeyListPage struct {
    // contains filtered or unexported fields
}

MultipleActivationKeyListPage contains a page of MultipleActivationKey values.

func NewMultipleActivationKeyListPage Uses

func NewMultipleActivationKeyListPage(cur MultipleActivationKeyList, getNextPage func(context.Context, MultipleActivationKeyList) (MultipleActivationKeyList, error)) MultipleActivationKeyListPage

Creates a new instance of the MultipleActivationKeyListPage type.

func (*MultipleActivationKeyListPage) Next Uses

func (page *MultipleActivationKeyListPage) 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 (*MultipleActivationKeyListPage) NextWithContext Uses

func (page *MultipleActivationKeyListPage) 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 (MultipleActivationKeyListPage) NotDone Uses

func (page MultipleActivationKeyListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (MultipleActivationKeyListPage) Response Uses

func (page MultipleActivationKeyListPage) Response() MultipleActivationKeyList

Response returns the raw server response from the last page request.

func (MultipleActivationKeyListPage) Values Uses

func (page MultipleActivationKeyListPage) Values() []MultipleActivationKey

Values returns the slice of values for the current page or nil if there are no values.

type MultipleActivationKeyProperties Uses

type MultipleActivationKeyProperties struct {
    // MultipleActivationKey - READ-ONLY; MAK 5x5 key.
    MultipleActivationKey *string `json:"multipleActivationKey,omitempty"`
    // ExpirationDate - READ-ONLY; End of support of security updates activated by the MAK key.
    ExpirationDate *date.Time `json:"expirationDate,omitempty"`
    // OsType - Type of OS for which the key is requested. Possible values include: 'Windows7', 'WindowsServer2008', 'WindowsServer2008R2'
    OsType OsType `json:"osType,omitempty"`
    // SupportType - Type of support. Possible values include: 'SupplementalServicing', 'PremiumAssurance'
    SupportType SupportType `json:"supportType,omitempty"`
    // InstalledServerNumber - Number of activations/servers using the MAK key.
    InstalledServerNumber *int32 `json:"installedServerNumber,omitempty"`
    // AgreementNumber - Agreement number under which the key is requested.
    AgreementNumber *string `json:"agreementNumber,omitempty"`
    // IsEligible - <code> true </code> if user has eligible on-premises Windows physical or virtual machines, and that the requested key will only be used in their organization; <code> false </code> otherwise.
    IsEligible *bool `json:"isEligible,omitempty"`
    // ProvisioningState - READ-ONLY; Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Accepted', 'Provisioning'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

MultipleActivationKeyProperties MAK key specific properties.

func (MultipleActivationKeyProperties) MarshalJSON Uses

func (mak MultipleActivationKeyProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MultipleActivationKeyProperties.

type MultipleActivationKeyUpdate Uses

type MultipleActivationKeyUpdate struct {
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
}

MultipleActivationKeyUpdate MAK key details.

func (MultipleActivationKeyUpdate) MarshalJSON Uses

func (maku MultipleActivationKeyUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MultipleActivationKeyUpdate.

type MultipleActivationKeysClient Uses

type MultipleActivationKeysClient struct {
    BaseClient
}

MultipleActivationKeysClient is the manage Multi-Access Keys (MAK) that enable Windows Extended Security Updates (ESU).

func NewMultipleActivationKeysClient Uses

func NewMultipleActivationKeysClient(subscriptionID string) MultipleActivationKeysClient

NewMultipleActivationKeysClient creates an instance of the MultipleActivationKeysClient client.

func NewMultipleActivationKeysClientWithBaseURI Uses

func NewMultipleActivationKeysClientWithBaseURI(baseURI string, subscriptionID string) MultipleActivationKeysClient

NewMultipleActivationKeysClientWithBaseURI creates an instance of the MultipleActivationKeysClient 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 (MultipleActivationKeysClient) Create Uses

func (client MultipleActivationKeysClient) Create(ctx context.Context, resourceGroupName string, multipleActivationKeyName string, multipleActivationKey MultipleActivationKey) (result MultipleActivationKeysCreateFuture, err error)

Create create a MAK key. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. multipleActivationKeyName - the name of the MAK key. multipleActivationKey - details of the MAK key.

func (MultipleActivationKeysClient) CreatePreparer Uses

func (client MultipleActivationKeysClient) CreatePreparer(ctx context.Context, resourceGroupName string, multipleActivationKeyName string, multipleActivationKey MultipleActivationKey) (*http.Request, error)

CreatePreparer prepares the Create request.

func (MultipleActivationKeysClient) CreateResponder Uses

func (client MultipleActivationKeysClient) CreateResponder(resp *http.Response) (result MultipleActivationKey, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (MultipleActivationKeysClient) CreateSender Uses

func (client MultipleActivationKeysClient) CreateSender(req *http.Request) (future MultipleActivationKeysCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (MultipleActivationKeysClient) Delete Uses

func (client MultipleActivationKeysClient) Delete(ctx context.Context, resourceGroupName string, multipleActivationKeyName string) (result autorest.Response, err error)

Delete delete a MAK key. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. multipleActivationKeyName - the name of the MAK key.

func (MultipleActivationKeysClient) DeletePreparer Uses

func (client MultipleActivationKeysClient) DeletePreparer(ctx context.Context, resourceGroupName string, multipleActivationKeyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (MultipleActivationKeysClient) DeleteResponder Uses

func (client MultipleActivationKeysClient) 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 (MultipleActivationKeysClient) DeleteSender Uses

func (client MultipleActivationKeysClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (MultipleActivationKeysClient) Get Uses

func (client MultipleActivationKeysClient) Get(ctx context.Context, resourceGroupName string, multipleActivationKeyName string) (result MultipleActivationKey, err error)

Get get a MAK key. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. multipleActivationKeyName - the name of the MAK key.

func (MultipleActivationKeysClient) GetPreparer Uses

func (client MultipleActivationKeysClient) GetPreparer(ctx context.Context, resourceGroupName string, multipleActivationKeyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (MultipleActivationKeysClient) GetResponder Uses

func (client MultipleActivationKeysClient) GetResponder(resp *http.Response) (result MultipleActivationKey, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (MultipleActivationKeysClient) GetSender Uses

func (client MultipleActivationKeysClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (MultipleActivationKeysClient) List Uses

func (client MultipleActivationKeysClient) List(ctx context.Context) (result MultipleActivationKeyListPage, err error)

List list all Multiple Activation Keys (MAK) created for a subscription.

func (MultipleActivationKeysClient) ListByResourceGroup Uses

func (client MultipleActivationKeysClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result MultipleActivationKeyListPage, err error)

ListByResourceGroup list all Multiple Activation Keys (MAK) in a resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (MultipleActivationKeysClient) ListByResourceGroupComplete Uses

func (client MultipleActivationKeysClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result MultipleActivationKeyListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (MultipleActivationKeysClient) ListByResourceGroupPreparer Uses

func (client MultipleActivationKeysClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (MultipleActivationKeysClient) ListByResourceGroupResponder Uses

func (client MultipleActivationKeysClient) ListByResourceGroupResponder(resp *http.Response) (result MultipleActivationKeyList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (MultipleActivationKeysClient) ListByResourceGroupSender Uses

func (client MultipleActivationKeysClient) 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 (MultipleActivationKeysClient) ListComplete Uses

func (client MultipleActivationKeysClient) ListComplete(ctx context.Context) (result MultipleActivationKeyListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MultipleActivationKeysClient) ListPreparer Uses

func (client MultipleActivationKeysClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (MultipleActivationKeysClient) ListResponder Uses

func (client MultipleActivationKeysClient) ListResponder(resp *http.Response) (result MultipleActivationKeyList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MultipleActivationKeysClient) ListSender Uses

func (client MultipleActivationKeysClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (MultipleActivationKeysClient) Update Uses

func (client MultipleActivationKeysClient) Update(ctx context.Context, resourceGroupName string, multipleActivationKeyName string, multipleActivationKey MultipleActivationKeyUpdate) (result MultipleActivationKey, err error)

Update update a MAK key. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. multipleActivationKeyName - the name of the MAK key. multipleActivationKey - details of the MAK key.

func (MultipleActivationKeysClient) UpdatePreparer Uses

func (client MultipleActivationKeysClient) UpdatePreparer(ctx context.Context, resourceGroupName string, multipleActivationKeyName string, multipleActivationKey MultipleActivationKeyUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (MultipleActivationKeysClient) UpdateResponder Uses

func (client MultipleActivationKeysClient) UpdateResponder(resp *http.Response) (result MultipleActivationKey, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (MultipleActivationKeysClient) UpdateSender Uses

func (client MultipleActivationKeysClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type MultipleActivationKeysCreateFuture Uses

type MultipleActivationKeysCreateFuture struct {
    azure.FutureAPI
    // Result returns the result of the asynchronous operation.
    // If the operation has not completed it will return an error.
    Result func(MultipleActivationKeysClient) (MultipleActivationKey, error)
}

MultipleActivationKeysCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; Name of the operation.
    Name    *string           `json:"name,omitempty"`
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation REST API operation details.

func (Operation) MarshalJSON Uses

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay Uses

type OperationDisplay struct {
    Provider    *string `json:"provider,omitempty"`
    Resource    *string `json:"resource,omitempty"`
    Operation   *string `json:"operation,omitempty"`
    Description *string `json:"description,omitempty"`
}

OperationDisplay meta data about operation used for display in portal.

type OperationList Uses

type OperationList struct {
    autorest.Response `json:"-"`
    // Value - List of operations.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to the next page of resources.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationList list of available REST API operations.

func (OperationList) IsEmpty Uses

func (ol OperationList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (OperationList) MarshalJSON Uses

func (ol OperationList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationList.

type OperationListIterator Uses

type OperationListIterator struct {
    // contains filtered or unexported fields
}

OperationListIterator provides access to a complete listing of Operation values.

func NewOperationListIterator Uses

func NewOperationListIterator(page OperationListPage) OperationListIterator

Creates a new instance of the OperationListIterator type.

func (*OperationListIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListIterator) Response Uses

func (iter OperationListIterator) Response() OperationList

Response returns the raw server response from the last page request.

func (OperationListIterator) Value Uses

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 Uses

type OperationListPage struct {
    // contains filtered or unexported fields
}

OperationListPage contains a page of Operation values.

func NewOperationListPage Uses

func NewOperationListPage(cur OperationList, getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage

Creates a new instance of the OperationListPage type.

func (*OperationListPage) Next Uses

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 Uses

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 Uses

func (page OperationListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListPage) Response Uses

func (page OperationListPage) Response() OperationList

Response returns the raw server response from the last page request.

func (OperationListPage) Values Uses

func (page OperationListPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the manage Multi-Access Keys (MAK) that enable Windows Extended Security Updates (ESU).

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

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 Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListPage, err error)

List list all available Windows.ESU provider operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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 Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OsType Uses

type OsType string

OsType enumerates the values for os type.

const (
    // Windows7 ...
    Windows7 OsType = "Windows7"
    // WindowsServer2008 ...
    WindowsServer2008 OsType = "WindowsServer2008"
    // WindowsServer2008R2 ...
    WindowsServer2008R2 OsType = "WindowsServer2008R2"
)

func PossibleOsTypeValues Uses

func PossibleOsTypeValues() []OsType

PossibleOsTypeValues returns an array of possible values for the OsType const type.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Accepted ...
    Accepted ProvisioningState = "Accepted"
    // Canceled ...
    Canceled ProvisioningState = "Canceled"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Provisioning ...
    Provisioning ProvisioningState = "Provisioning"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource Uses

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"`
}

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

type Resource Uses

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"`
}

Resource common fields that are returned in the response for all Azure Resource Manager resources

type SupportType Uses

type SupportType string

SupportType enumerates the values for support type.

const (
    // PremiumAssurance ...
    PremiumAssurance SupportType = "PremiumAssurance"
    // SupplementalServicing ...
    SupplementalServicing SupportType = "SupplementalServicing"
)

func PossibleSupportTypeValues Uses

func PossibleSupportTypeValues() []SupportType

PossibleSupportTypeValues returns an array of possible values for the SupportType const type.

type TrackedResource Uses

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"`
}

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON Uses

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

Directories

PathSynopsis
windowsesuapi

Package windowsesu imports 10 packages (graph) and is imported by 1 packages. Updated 2021-01-26. Refresh now. Tools for package owners.