azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/automanage/mgmt/2020-06-30-preview/automanage Index | Files | Directories

package automanage

import "github.com/Azure/azure-sdk-for-go/services/preview/automanage/mgmt/2020-06-30-preview/automanage"

Package automanage implements the Azure ARM Automanage service API version 2020-06-30-preview.

Automanage Client

Index

Package Files

accounts.go client.go configurationprofileassignments.go configurationprofilepreferences.go enums.go models.go operations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Automanage
    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 Account Uses

type Account struct {
    autorest.Response `json:"-"`
    // Identity - The identity of the Automanage account.
    Identity *AccountIdentity `json:"identity,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"`
}

Account definition of the Automanage account.

func (Account) MarshalJSON Uses

func (a Account) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Account.

type AccountIdentity Uses

type AccountIdentity struct {
    // PrincipalID - READ-ONLY; The principal id of Automanage account identity.
    PrincipalID *string `json:"principalId,omitempty"`
    // TenantID - READ-ONLY; The tenant id associated with the Automanage account.
    TenantID *string `json:"tenantId,omitempty"`
    // Type - The type of identity used for the Automanage account. Currently, the only supported type is 'SystemAssigned', which implicitly creates an identity. Possible values include: 'SystemAssigned', 'None'
    Type ResourceIdentityType `json:"type,omitempty"`
}

AccountIdentity identity for the Automanage account.

func (AccountIdentity) MarshalJSON Uses

func (ai AccountIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountIdentity.

type AccountList Uses

type AccountList struct {
    autorest.Response `json:"-"`
    // Value - Result of the list Account operation.
    Value *[]Account `json:"value,omitempty"`
}

AccountList the response of the list Account operation.

type AccountUpdate Uses

type AccountUpdate struct {
    // Identity - The identity of the Automanage account.
    Identity *AccountIdentity `json:"identity,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

AccountUpdate definition of the Automanage account.

func (AccountUpdate) MarshalJSON Uses

func (au AccountUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountUpdate.

type AccountsClient Uses

type AccountsClient struct {
    BaseClient
}

AccountsClient is the automanage Client

func NewAccountsClient Uses

func NewAccountsClient(subscriptionID string) AccountsClient

NewAccountsClient creates an instance of the AccountsClient client.

func NewAccountsClientWithBaseURI Uses

func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient

NewAccountsClientWithBaseURI creates an instance of the AccountsClient 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 (AccountsClient) CreateOrUpdate Uses

func (client AccountsClient) CreateOrUpdate(ctx context.Context, accountName string, resourceGroupName string, parameters Account) (result Account, err error)

CreateOrUpdate creates an Automanage Account Parameters: accountName - name of the Automanage account. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to create or update Automanage account.

func (AccountsClient) CreateOrUpdatePreparer Uses

func (client AccountsClient) CreateOrUpdatePreparer(ctx context.Context, accountName string, resourceGroupName string, parameters Account) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccountsClient) CreateOrUpdateResponder Uses

func (client AccountsClient) CreateOrUpdateResponder(resp *http.Response) (result Account, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AccountsClient) CreateOrUpdateSender Uses

func (client AccountsClient) 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 (AccountsClient) Delete Uses

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

Delete delete a Automanage account Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - name of the Automanage account

func (AccountsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (AccountsClient) DeleteResponder Uses

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

func (client AccountsClient) 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 (AccountsClient) Get Uses

func (client AccountsClient) Get(ctx context.Context, accountName string, resourceGroupName string) (result Account, err error)

Get get information about a Automanage account Parameters: accountName - the Automanage account name. resourceGroupName - the name of the resource group. The name is case insensitive.

func (AccountsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (AccountsClient) GetResponder Uses

func (client AccountsClient) GetResponder(resp *http.Response) (result Account, err error)

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

func (AccountsClient) GetSender Uses

func (client AccountsClient) 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 (AccountsClient) ListByResourceGroup Uses

func (client AccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result AccountList, err error)

ListByResourceGroup retrieve a list of Automanage accounts within a given resource group Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (AccountsClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (AccountsClient) ListByResourceGroupResponder Uses

func (client AccountsClient) ListByResourceGroupResponder(resp *http.Response) (result AccountList, err error)

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

func (AccountsClient) ListByResourceGroupSender Uses

func (client AccountsClient) 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 (AccountsClient) ListBySubscription Uses

func (client AccountsClient) ListBySubscription(ctx context.Context) (result AccountList, err error)

ListBySubscription retrieve a list of Automanage accounts within a subscription

func (AccountsClient) ListBySubscriptionPreparer Uses

func (client AccountsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (AccountsClient) ListBySubscriptionResponder Uses

func (client AccountsClient) ListBySubscriptionResponder(resp *http.Response) (result AccountList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (AccountsClient) ListBySubscriptionSender Uses

func (client AccountsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (AccountsClient) Update Uses

func (client AccountsClient) Update(ctx context.Context, accountName string, resourceGroupName string, parameters AccountUpdate) (result Account, err error)

Update updates an Automanage Account Parameters: accountName - name of the Automanage account. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to update Automanage account.

func (AccountsClient) UpdatePreparer Uses

func (client AccountsClient) UpdatePreparer(ctx context.Context, accountName string, resourceGroupName string, parameters AccountUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccountsClient) UpdateResponder Uses

func (client AccountsClient) UpdateResponder(resp *http.Response) (result Account, err error)

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

func (AccountsClient) UpdateSender Uses

func (client AccountsClient) 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 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 Automanage.

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

type ConfigurationProfile string

ConfigurationProfile enumerates the values for configuration profile.

const (
    // AzurevirtualmachinebestpracticesDevTest ...
    AzurevirtualmachinebestpracticesDevTest ConfigurationProfile = "Azure virtual machine best practices – Dev/Test"
    // AzurevirtualmachinebestpracticesProduction ...
    AzurevirtualmachinebestpracticesProduction ConfigurationProfile = "Azure virtual machine best practices – Production"
)

func PossibleConfigurationProfileValues Uses

func PossibleConfigurationProfileValues() []ConfigurationProfile

PossibleConfigurationProfileValues returns an array of possible values for the ConfigurationProfile const type.

type ConfigurationProfileAssignment Uses

type ConfigurationProfileAssignment struct {
    autorest.Response `json:"-"`
    // Properties - Properties of the configuration profile assignment.
    Properties *ConfigurationProfileAssignmentProperties `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"`
}

ConfigurationProfileAssignment configuration profile assignment is an association between a VM and automanage profile configuration.

func (ConfigurationProfileAssignment) MarshalJSON Uses

func (cpa ConfigurationProfileAssignment) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationProfileAssignment.

type ConfigurationProfileAssignmentCompliance Uses

type ConfigurationProfileAssignmentCompliance struct {
    // UpdateStatus - READ-ONLY; The state of compliance, which only appears in the response. Possible values include: 'UpdateStatusSucceeded', 'UpdateStatusFailed', 'UpdateStatusCreated'
    UpdateStatus UpdateStatus `json:"updateStatus,omitempty"`
}

ConfigurationProfileAssignmentCompliance the compliance status for the configuration profile assignment.

type ConfigurationProfileAssignmentList Uses

type ConfigurationProfileAssignmentList struct {
    autorest.Response `json:"-"`
    // Value - Result of the list configuration profile assignment operation.
    Value *[]ConfigurationProfileAssignment `json:"value,omitempty"`
}

ConfigurationProfileAssignmentList the response of the list configuration profile assignment operation.

type ConfigurationProfileAssignmentProperties Uses

type ConfigurationProfileAssignmentProperties struct {
    // ConfigurationProfile - A value indicating configuration profile. Possible values include: 'AzurevirtualmachinebestpracticesDevTest', 'AzurevirtualmachinebestpracticesProduction'
    ConfigurationProfile ConfigurationProfile `json:"configurationProfile,omitempty"`
    // TargetID - The target VM resource URI
    TargetID *string `json:"targetId,omitempty"`
    // AccountID - The Automanage account ARM Resource URI
    AccountID *string `json:"accountId,omitempty"`
    // ConfigurationProfilePreferenceID - The configuration profile custom preferences ARM resource URI
    ConfigurationProfilePreferenceID *string `json:"configurationProfilePreferenceId,omitempty"`
    // ProvisioningState - READ-ONLY; The state of onboarding, which only appears in the response. Possible values include: 'Succeeded', 'Failed', 'Created'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // Compliance - The configuration setting for the configuration profile.
    Compliance *ConfigurationProfileAssignmentCompliance `json:"compliance,omitempty"`
}

ConfigurationProfileAssignmentProperties automanage configuration profile assignment properties.

func (ConfigurationProfileAssignmentProperties) MarshalJSON Uses

func (cpap ConfigurationProfileAssignmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationProfileAssignmentProperties.

type ConfigurationProfileAssignmentsClient Uses

type ConfigurationProfileAssignmentsClient struct {
    BaseClient
}

ConfigurationProfileAssignmentsClient is the automanage Client

func NewConfigurationProfileAssignmentsClient Uses

func NewConfigurationProfileAssignmentsClient(subscriptionID string) ConfigurationProfileAssignmentsClient

NewConfigurationProfileAssignmentsClient creates an instance of the ConfigurationProfileAssignmentsClient client.

func NewConfigurationProfileAssignmentsClientWithBaseURI Uses

func NewConfigurationProfileAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationProfileAssignmentsClient

NewConfigurationProfileAssignmentsClientWithBaseURI creates an instance of the ConfigurationProfileAssignmentsClient 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 (ConfigurationProfileAssignmentsClient) CreateOrUpdate Uses

func (client ConfigurationProfileAssignmentsClient) CreateOrUpdate(ctx context.Context, configurationProfileAssignmentName string, parameters ConfigurationProfileAssignment, resourceGroupName string, VMName string) (result ConfigurationProfileAssignmentsCreateOrUpdateFuture, err error)

CreateOrUpdate creates an association between a VM and Automanage configuration profile Parameters: configurationProfileAssignmentName - name of the configuration profile assignment. Only default is supported. parameters - parameters supplied to the create or update configuration profile assignment. resourceGroupName - the name of the resource group. The name is case insensitive. VMName - the name of the virtual machine.

func (ConfigurationProfileAssignmentsClient) CreateOrUpdatePreparer Uses

func (client ConfigurationProfileAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, configurationProfileAssignmentName string, parameters ConfigurationProfileAssignment, resourceGroupName string, VMName string) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConfigurationProfileAssignmentsClient) CreateOrUpdateResponder Uses

func (client ConfigurationProfileAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationProfileAssignment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConfigurationProfileAssignmentsClient) CreateOrUpdateSender Uses

func (client ConfigurationProfileAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future ConfigurationProfileAssignmentsCreateOrUpdateFuture, err error)

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

func (ConfigurationProfileAssignmentsClient) Delete Uses

func (client ConfigurationProfileAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (result autorest.Response, err error)

Delete delete a configuration profile assignment Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. configurationProfileAssignmentName - name of the configuration profile assignment VMName - the name of the virtual machine.

func (ConfigurationProfileAssignmentsClient) DeletePreparer Uses

func (client ConfigurationProfileAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ConfigurationProfileAssignmentsClient) DeleteResponder Uses

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

func (client ConfigurationProfileAssignmentsClient) 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 (ConfigurationProfileAssignmentsClient) Get Uses

func (client ConfigurationProfileAssignmentsClient) Get(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (result ConfigurationProfileAssignment, err error)

Get get information about a configuration profile assignment Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. configurationProfileAssignmentName - the configuration profile assignment name. VMName - the name of the virtual machine.

func (ConfigurationProfileAssignmentsClient) GetPreparer Uses

func (client ConfigurationProfileAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ConfigurationProfileAssignmentsClient) GetResponder Uses

func (client ConfigurationProfileAssignmentsClient) GetResponder(resp *http.Response) (result ConfigurationProfileAssignment, err error)

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

func (ConfigurationProfileAssignmentsClient) GetSender Uses

func (client ConfigurationProfileAssignmentsClient) 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 (ConfigurationProfileAssignmentsClient) List Uses

func (client ConfigurationProfileAssignmentsClient) List(ctx context.Context, resourceGroupName string) (result ConfigurationProfileAssignmentList, err error)

List get list of configuration profile assignments Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ConfigurationProfileAssignmentsClient) ListBySubscription Uses

func (client ConfigurationProfileAssignmentsClient) ListBySubscription(ctx context.Context) (result ConfigurationProfileAssignmentList, err error)

ListBySubscription get list of configuration profile assignments under a given subscription

func (ConfigurationProfileAssignmentsClient) ListBySubscriptionPreparer Uses

func (client ConfigurationProfileAssignmentsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ConfigurationProfileAssignmentsClient) ListBySubscriptionResponder Uses

func (client ConfigurationProfileAssignmentsClient) ListBySubscriptionResponder(resp *http.Response) (result ConfigurationProfileAssignmentList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ConfigurationProfileAssignmentsClient) ListBySubscriptionSender Uses

func (client ConfigurationProfileAssignmentsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (ConfigurationProfileAssignmentsClient) ListPreparer Uses

func (client ConfigurationProfileAssignmentsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ConfigurationProfileAssignmentsClient) ListResponder Uses

func (client ConfigurationProfileAssignmentsClient) ListResponder(resp *http.Response) (result ConfigurationProfileAssignmentList, err error)

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

func (ConfigurationProfileAssignmentsClient) ListSender Uses

func (client ConfigurationProfileAssignmentsClient) 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 ConfigurationProfileAssignmentsCreateOrUpdateFuture Uses

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

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

type ConfigurationProfilePreference Uses

type ConfigurationProfilePreference struct {
    autorest.Response `json:"-"`
    // Properties - Properties of the configuration profile preference.
    Properties *ConfigurationProfilePreferenceProperties `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"`
}

ConfigurationProfilePreference definition of the configuration profile preference.

func (ConfigurationProfilePreference) MarshalJSON Uses

func (cpp ConfigurationProfilePreference) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationProfilePreference.

type ConfigurationProfilePreferenceAntiMalware Uses

type ConfigurationProfilePreferenceAntiMalware struct {
    // EnableRealTimeProtection - Enables or disables Real Time Protection. Possible values include: 'True', 'False'
    EnableRealTimeProtection EnableRealTimeProtection `json:"enableRealTimeProtection,omitempty"`
    // Exclusions - Extensions, Paths and Processes that must be excluded from scan
    Exclusions interface{} `json:"exclusions,omitempty"`
    // RunScheduledScan - Enables or disables a periodic scan for antimalware. Possible values include: 'RunScheduledScanTrue', 'RunScheduledScanFalse'
    RunScheduledScan RunScheduledScan `json:"runScheduledScan,omitempty"`
    // ScanType - Type of scheduled scan. Possible values include: 'Quick', 'Full'
    ScanType ScanType `json:"scanType,omitempty"`
    // ScanDay - Schedule scan settings day
    ScanDay *string `json:"scanDay,omitempty"`
    // ScanTimeInMinutes - Schedule scan settings time
    ScanTimeInMinutes *string `json:"scanTimeInMinutes,omitempty"`
}

ConfigurationProfilePreferenceAntiMalware automanage configuration profile Antimalware preferences.

type ConfigurationProfilePreferenceList Uses

type ConfigurationProfilePreferenceList struct {
    autorest.Response `json:"-"`
    // Value - Result of the list ConfigurationProfilePreference operation.
    Value *[]ConfigurationProfilePreference `json:"value,omitempty"`
}

ConfigurationProfilePreferenceList the response of the list ConfigurationProfilePreference operation.

type ConfigurationProfilePreferenceProperties Uses

type ConfigurationProfilePreferenceProperties struct {
    // VMBackup - The custom preferences for Azure VM Backup.
    VMBackup *ConfigurationProfilePreferenceVMBackup `json:"vmBackup,omitempty"`
    // AntiMalware - The custom preferences for Azure Antimalware.
    AntiMalware *ConfigurationProfilePreferenceAntiMalware `json:"antiMalware,omitempty"`
}

ConfigurationProfilePreferenceProperties automanage configuration profile preference properties.

type ConfigurationProfilePreferenceUpdate Uses

type ConfigurationProfilePreferenceUpdate struct {
    // Properties - Properties of the configuration profile preference.
    Properties *ConfigurationProfilePreferenceProperties `json:"properties,omitempty"`
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

ConfigurationProfilePreferenceUpdate definition of the configuration profile preference.

func (ConfigurationProfilePreferenceUpdate) MarshalJSON Uses

func (cppu ConfigurationProfilePreferenceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConfigurationProfilePreferenceUpdate.

type ConfigurationProfilePreferenceVMBackup Uses

type ConfigurationProfilePreferenceVMBackup struct {
    // TimeZone - TimeZone optional input as string. For example: Pacific Standard Time
    TimeZone *string `json:"timeZone,omitempty"`
    // InstantRpRetentionRangeInDays - Instant RP retention policy range in days
    InstantRpRetentionRangeInDays *int32 `json:"instantRpRetentionRangeInDays,omitempty"`
    // RetentionPolicy - Retention policy with the details on backup copy retention ranges.
    RetentionPolicy *string `json:"retentionPolicy,omitempty"`
    // SchedulePolicy - Backup schedule specified as part of backup policy.
    SchedulePolicy *string `json:"schedulePolicy,omitempty"`
}

ConfigurationProfilePreferenceVMBackup automanage configuration profile VM Backup preferences.

type ConfigurationProfilePreferencesClient Uses

type ConfigurationProfilePreferencesClient struct {
    BaseClient
}

ConfigurationProfilePreferencesClient is the automanage Client

func NewConfigurationProfilePreferencesClient Uses

func NewConfigurationProfilePreferencesClient(subscriptionID string) ConfigurationProfilePreferencesClient

NewConfigurationProfilePreferencesClient creates an instance of the ConfigurationProfilePreferencesClient client.

func NewConfigurationProfilePreferencesClientWithBaseURI Uses

func NewConfigurationProfilePreferencesClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationProfilePreferencesClient

NewConfigurationProfilePreferencesClientWithBaseURI creates an instance of the ConfigurationProfilePreferencesClient 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 (ConfigurationProfilePreferencesClient) CreateOrUpdate Uses

func (client ConfigurationProfilePreferencesClient) CreateOrUpdate(ctx context.Context, configurationProfilePreferenceName string, resourceGroupName string, parameters ConfigurationProfilePreference) (result ConfigurationProfilePreference, err error)

CreateOrUpdate creates a configuration profile preference Parameters: configurationProfilePreferenceName - name of the configuration profile preference. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to create or update configuration profile preference.

func (ConfigurationProfilePreferencesClient) CreateOrUpdatePreparer Uses

func (client ConfigurationProfilePreferencesClient) CreateOrUpdatePreparer(ctx context.Context, configurationProfilePreferenceName string, resourceGroupName string, parameters ConfigurationProfilePreference) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ConfigurationProfilePreferencesClient) CreateOrUpdateResponder Uses

func (client ConfigurationProfilePreferencesClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationProfilePreference, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (ConfigurationProfilePreferencesClient) CreateOrUpdateSender Uses

func (client ConfigurationProfilePreferencesClient) 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 (ConfigurationProfilePreferencesClient) Delete Uses

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

Delete delete a configuration profile preference Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. configurationProfilePreferenceName - name of the configuration profile preference

func (ConfigurationProfilePreferencesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ConfigurationProfilePreferencesClient) DeleteResponder Uses

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

func (client ConfigurationProfilePreferencesClient) 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 (ConfigurationProfilePreferencesClient) Get Uses

func (client ConfigurationProfilePreferencesClient) Get(ctx context.Context, configurationProfilePreferenceName string, resourceGroupName string) (result ConfigurationProfilePreference, err error)

Get get information about a configuration profile preference Parameters: configurationProfilePreferenceName - the configuration profile preference name. resourceGroupName - the name of the resource group. The name is case insensitive.

func (ConfigurationProfilePreferencesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ConfigurationProfilePreferencesClient) GetResponder Uses

func (client ConfigurationProfilePreferencesClient) GetResponder(resp *http.Response) (result ConfigurationProfilePreference, err error)

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

func (ConfigurationProfilePreferencesClient) GetSender Uses

func (client ConfigurationProfilePreferencesClient) 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 (ConfigurationProfilePreferencesClient) ListByResourceGroup Uses

func (client ConfigurationProfilePreferencesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ConfigurationProfilePreferenceList, err error)

ListByResourceGroup retrieve a list of configuration profile preferences within a given resource group Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (ConfigurationProfilePreferencesClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ConfigurationProfilePreferencesClient) ListByResourceGroupResponder Uses

func (client ConfigurationProfilePreferencesClient) ListByResourceGroupResponder(resp *http.Response) (result ConfigurationProfilePreferenceList, err error)

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

func (ConfigurationProfilePreferencesClient) ListByResourceGroupSender Uses

func (client ConfigurationProfilePreferencesClient) 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 (ConfigurationProfilePreferencesClient) ListBySubscription Uses

func (client ConfigurationProfilePreferencesClient) ListBySubscription(ctx context.Context) (result ConfigurationProfilePreferenceList, err error)

ListBySubscription retrieve a list of configuration profile preferences within a subscription

func (ConfigurationProfilePreferencesClient) ListBySubscriptionPreparer Uses

func (client ConfigurationProfilePreferencesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ConfigurationProfilePreferencesClient) ListBySubscriptionResponder Uses

func (client ConfigurationProfilePreferencesClient) ListBySubscriptionResponder(resp *http.Response) (result ConfigurationProfilePreferenceList, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (ConfigurationProfilePreferencesClient) ListBySubscriptionSender Uses

func (client ConfigurationProfilePreferencesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

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

func (ConfigurationProfilePreferencesClient) Update Uses

func (client ConfigurationProfilePreferencesClient) Update(ctx context.Context, configurationProfilePreferenceName string, resourceGroupName string, parameters ConfigurationProfilePreferenceUpdate) (result ConfigurationProfilePreference, err error)

Update updates a configuration profile preference Parameters: configurationProfilePreferenceName - name of the configuration profile preference. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to create or update configuration profile preference.

func (ConfigurationProfilePreferencesClient) UpdatePreparer Uses

func (client ConfigurationProfilePreferencesClient) UpdatePreparer(ctx context.Context, configurationProfilePreferenceName string, resourceGroupName string, parameters ConfigurationProfilePreferenceUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ConfigurationProfilePreferencesClient) UpdateResponder Uses

func (client ConfigurationProfilePreferencesClient) UpdateResponder(resp *http.Response) (result ConfigurationProfilePreference, err error)

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

func (ConfigurationProfilePreferencesClient) UpdateSender Uses

func (client ConfigurationProfilePreferencesClient) 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 EnableRealTimeProtection Uses

type EnableRealTimeProtection string

EnableRealTimeProtection enumerates the values for enable real time protection.

const (
    // False ...
    False EnableRealTimeProtection = "False"
    // True ...
    True EnableRealTimeProtection = "True"
)

func PossibleEnableRealTimeProtectionValues Uses

func PossibleEnableRealTimeProtectionValues() []EnableRealTimeProtection

PossibleEnableRealTimeProtectionValues returns an array of possible values for the EnableRealTimeProtection const type.

type ErrorAdditionalInfo Uses

type ErrorAdditionalInfo struct {
    // Type - READ-ONLY; The additional info type.
    Type *string `json:"type,omitempty"`
    // Info - READ-ONLY; The additional info.
    Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

type ErrorDetail Uses

type ErrorDetail struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The error target.
    Target *string `json:"target,omitempty"`
    // Details - READ-ONLY; The error details.
    Details *[]ErrorDetail `json:"details,omitempty"`
    // AdditionalInfo - READ-ONLY; The error additional info.
    AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorDetail the error detail.

type ErrorResponse Uses

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

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type Operation Uses

type Operation struct {
    // Name - Operation name: For ex. providers/Microsoft.Automanage/configurationProfileAssignments/write or read
    Name *string `json:"name,omitempty"`
    // IsDataAction - Indicates whether the operation is a data action
    IsDataAction *string `json:"isDataAction,omitempty"`
    // Display - Provider, Resource, Operation and description values.
    Display *OperationDisplay `json:"display,omitempty"`
    // OperationProperties - Provider, Resource, Operation and description values.
    *OperationProperties `json:"properties,omitempty"`
}

Operation automanage REST API operation

func (Operation) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for Operation.

func (*Operation) UnmarshalJSON Uses

func (o *Operation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Operation struct.

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - Service provider: Microsoft.Automanage
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed:  For ex.
    Resource *string `json:"resource,omitempty"`
    // Operation - Operation type: Read, write, delete, etc.
    Operation *string `json:"operation,omitempty"`
    // Description - Description about operation.
    Description *string `json:"description,omitempty"`
}

OperationDisplay provider, Resource, Operation and description values.

type OperationList Uses

type OperationList struct {
    autorest.Response `json:"-"`
    // Value - List of Automanage operations supported by the Automanage resource provider.
    Value *[]Operation `json:"value,omitempty"`
}

OperationList the response model for the list of Automanage operations

type OperationProperties Uses

type OperationProperties struct {
    // StatusCode - Service provider: Microsoft.Automanage
    StatusCode *string `json:"statusCode,omitempty"`
}

OperationProperties provider, Resource, Operation and description values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the automanage Client

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 OperationList, err error)

List lists all of the available Automanage REST API operations.

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

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Created ...
    Created ProvisioningState = "Created"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // 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 an Azure Resource Manager proxy resource. It will have everything other than required location and tags

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

type ResourceIdentityType string

ResourceIdentityType enumerates the values for resource identity type.

const (
    // None ...
    None ResourceIdentityType = "None"
    // SystemAssigned ...
    SystemAssigned ResourceIdentityType = "SystemAssigned"
)

func PossibleResourceIdentityTypeValues Uses

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns an array of possible values for the ResourceIdentityType const type.

type RunScheduledScan Uses

type RunScheduledScan string

RunScheduledScan enumerates the values for run scheduled scan.

const (
    // RunScheduledScanFalse ...
    RunScheduledScanFalse RunScheduledScan = "False"
    // RunScheduledScanTrue ...
    RunScheduledScanTrue RunScheduledScan = "True"
)

func PossibleRunScheduledScanValues Uses

func PossibleRunScheduledScanValues() []RunScheduledScan

PossibleRunScheduledScanValues returns an array of possible values for the RunScheduledScan const type.

type ScanType Uses

type ScanType string

ScanType enumerates the values for scan type.

const (
    // Full ...
    Full ScanType = "Full"
    // Quick ...
    Quick ScanType = "Quick"
)

func PossibleScanTypeValues Uses

func PossibleScanTypeValues() []ScanType

PossibleScanTypeValues returns an array of possible values for the ScanType 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

func (TrackedResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type UpdateResource Uses

type UpdateResource struct {
    // Tags - The tags of the resource.
    Tags map[string]*string `json:"tags"`
}

UpdateResource represents an update resource

func (UpdateResource) MarshalJSON Uses

func (ur UpdateResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateResource.

type UpdateStatus Uses

type UpdateStatus string

UpdateStatus enumerates the values for update status.

const (
    // UpdateStatusCreated ...
    UpdateStatusCreated UpdateStatus = "Created"
    // UpdateStatusFailed ...
    UpdateStatusFailed UpdateStatus = "Failed"
    // UpdateStatusSucceeded ...
    UpdateStatusSucceeded UpdateStatus = "Succeeded"
)

func PossibleUpdateStatusValues Uses

func PossibleUpdateStatusValues() []UpdateStatus

PossibleUpdateStatusValues returns an array of possible values for the UpdateStatus const type.

Directories

PathSynopsis
automanageapi

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