Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/automanage/armautomanage(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/automanage/armautomanage). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package automanage implements the Azure ARM Automanage service API version 2021-04-30-preview.
Automanage Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type ActionType
- type AssignmentReportProperties
- type AzureEntityResource
- type BaseClient
- type BestPractice
- type BestPracticeList
- type BestPracticesClient
- func (client BestPracticesClient) Get(ctx context.Context, bestPracticeName string) (result BestPractice, err error)
- func (client BestPracticesClient) GetPreparer(ctx context.Context, bestPracticeName string) (*http.Request, error)
- func (client BestPracticesClient) GetResponder(resp *http.Response) (result BestPractice, err error)
- func (client BestPracticesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BestPracticesClient) ListByTenant(ctx context.Context) (result BestPracticeList, err error)
- func (client BestPracticesClient) ListByTenantPreparer(ctx context.Context) (*http.Request, error)
- func (client BestPracticesClient) ListByTenantResponder(resp *http.Response) (result BestPracticeList, err error)
- func (client BestPracticesClient) ListByTenantSender(req *http.Request) (*http.Response, error)
- type BestPracticesVersionsClient
- func (client BestPracticesVersionsClient) Get(ctx context.Context, bestPracticeName string, versionName string) (result BestPractice, err error)
- func (client BestPracticesVersionsClient) GetPreparer(ctx context.Context, bestPracticeName string, versionName string) (*http.Request, error)
- func (client BestPracticesVersionsClient) GetResponder(resp *http.Response) (result BestPractice, err error)
- func (client BestPracticesVersionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BestPracticesVersionsClient) ListByTenant(ctx context.Context, bestPracticeName string) (result BestPracticeList, err error)
- func (client BestPracticesVersionsClient) ListByTenantPreparer(ctx context.Context, bestPracticeName string) (*http.Request, error)
- func (client BestPracticesVersionsClient) ListByTenantResponder(resp *http.Response) (result BestPracticeList, err error)
- func (client BestPracticesVersionsClient) ListByTenantSender(req *http.Request) (*http.Response, error)
- type ConfigurationProfile
- type ConfigurationProfileAssignment
- type ConfigurationProfileAssignmentList
- type ConfigurationProfileAssignmentProperties
- type ConfigurationProfileAssignmentsClient
- func (client ConfigurationProfileAssignmentsClient) CreateOrUpdate(ctx context.Context, configurationProfileAssignmentName string, ...) (result ConfigurationProfileAssignment, err error)
- func (client ConfigurationProfileAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, configurationProfileAssignmentName string, ...) (*http.Request, error)
- func (client ConfigurationProfileAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationProfileAssignment, err error)
- func (client ConfigurationProfileAssignmentsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfileAssignmentsClient) Delete(ctx context.Context, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client ConfigurationProfileAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ConfigurationProfileAssignmentsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ConfigurationProfileAssignmentsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfileAssignmentsClient) Get(ctx context.Context, resourceGroupName string, ...) (result ConfigurationProfileAssignment, err error)
- func (client ConfigurationProfileAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ConfigurationProfileAssignmentsClient) GetResponder(resp *http.Response) (result ConfigurationProfileAssignment, err error)
- func (client ConfigurationProfileAssignmentsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfileAssignmentsClient) List(ctx context.Context, resourceGroupName string) (result ConfigurationProfileAssignmentList, err error)
- func (client ConfigurationProfileAssignmentsClient) ListBySubscription(ctx context.Context) (result ConfigurationProfileAssignmentList, err error)
- func (client ConfigurationProfileAssignmentsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client ConfigurationProfileAssignmentsClient) ListBySubscriptionResponder(resp *http.Response) (result ConfigurationProfileAssignmentList, err error)
- func (client ConfigurationProfileAssignmentsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfileAssignmentsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ConfigurationProfileAssignmentsClient) ListResponder(resp *http.Response) (result ConfigurationProfileAssignmentList, err error)
- func (client ConfigurationProfileAssignmentsClient) ListSender(req *http.Request) (*http.Response, error)
- type ConfigurationProfileList
- type ConfigurationProfileProperties
- type ConfigurationProfileUpdate
- type ConfigurationProfilesClient
- func (client ConfigurationProfilesClient) CreateOrUpdate(ctx context.Context, configurationProfileName string, resourceGroupName string, ...) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesClient) CreateOrUpdatePreparer(ctx context.Context, configurationProfileName string, resourceGroupName string, ...) (*http.Request, error)
- func (client ConfigurationProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesClient) Delete(ctx context.Context, resourceGroupName string, configurationProfileName string) (result autorest.Response, err error)
- func (client ConfigurationProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, configurationProfileName string) (*http.Request, error)
- func (client ConfigurationProfilesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ConfigurationProfilesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesClient) Get(ctx context.Context, configurationProfileName string, resourceGroupName string) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesClient) GetPreparer(ctx context.Context, configurationProfileName string, resourceGroupName string) (*http.Request, error)
- func (client ConfigurationProfilesClient) GetResponder(resp *http.Response) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ConfigurationProfileList, err error)
- func (client ConfigurationProfilesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client ConfigurationProfilesClient) ListByResourceGroupResponder(resp *http.Response) (result ConfigurationProfileList, err error)
- func (client ConfigurationProfilesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesClient) ListBySubscription(ctx context.Context) (result ConfigurationProfileList, err error)
- func (client ConfigurationProfilesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client ConfigurationProfilesClient) ListBySubscriptionResponder(resp *http.Response) (result ConfigurationProfileList, err error)
- func (client ConfigurationProfilesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesClient) Update(ctx context.Context, configurationProfileName string, resourceGroupName string, ...) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesClient) UpdatePreparer(ctx context.Context, configurationProfileName string, resourceGroupName string, ...) (*http.Request, error)
- func (client ConfigurationProfilesClient) UpdateResponder(resp *http.Response) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type ConfigurationProfilesVersionsClient
- func (client ConfigurationProfilesVersionsClient) CreateOrUpdate(ctx context.Context, configurationProfileName string, versionName string, ...) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesVersionsClient) CreateOrUpdatePreparer(ctx context.Context, configurationProfileName string, versionName string, ...) (*http.Request, error)
- func (client ConfigurationProfilesVersionsClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesVersionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesVersionsClient) Delete(ctx context.Context, resourceGroupName string, configurationProfileName string, ...) (result autorest.Response, err error)
- func (client ConfigurationProfilesVersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, configurationProfileName string, ...) (*http.Request, error)
- func (client ConfigurationProfilesVersionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ConfigurationProfilesVersionsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesVersionsClient) Get(ctx context.Context, configurationProfileName string, versionName string, ...) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesVersionsClient) GetPreparer(ctx context.Context, configurationProfileName string, versionName string, ...) (*http.Request, error)
- func (client ConfigurationProfilesVersionsClient) GetResponder(resp *http.Response) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesVersionsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesVersionsClient) ListChildResources(ctx context.Context, configurationProfileName string, resourceGroupName string) (result ConfigurationProfileList, err error)
- func (client ConfigurationProfilesVersionsClient) ListChildResourcesPreparer(ctx context.Context, configurationProfileName string, resourceGroupName string) (*http.Request, error)
- func (client ConfigurationProfilesVersionsClient) ListChildResourcesResponder(resp *http.Response) (result ConfigurationProfileList, err error)
- func (client ConfigurationProfilesVersionsClient) ListChildResourcesSender(req *http.Request) (*http.Response, error)
- func (client ConfigurationProfilesVersionsClient) Update(ctx context.Context, configurationProfileName string, versionName string, ...) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesVersionsClient) UpdatePreparer(ctx context.Context, configurationProfileName string, versionName string, ...) (*http.Request, error)
- func (client ConfigurationProfilesVersionsClient) UpdateResponder(resp *http.Response) (result ConfigurationProfile, err error)
- func (client ConfigurationProfilesVersionsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type CreatedByType
- type ErrorAdditionalInfo
- type ErrorDetail
- type ErrorResponse
- type Operation
- type OperationDisplay
- type OperationListResult
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Origin
- type ProxyResource
- type Report
- type ReportList
- type ReportResource
- type ReportsClient
- func (client ReportsClient) Get(ctx context.Context, resourceGroupName string, ...) (result Report, err error)
- func (client ReportsClient) GetPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ReportsClient) GetResponder(resp *http.Response) (result Report, err error)
- func (client ReportsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ReportsClient) ListByConfigurationProfileAssignments(ctx context.Context, resourceGroupName string, ...) (result ReportList, err error)
- func (client ReportsClient) ListByConfigurationProfileAssignmentsPreparer(ctx context.Context, resourceGroupName string, ...) (*http.Request, error)
- func (client ReportsClient) ListByConfigurationProfileAssignmentsResponder(resp *http.Response) (result ReportList, err error)
- func (client ReportsClient) ListByConfigurationProfileAssignmentsSender(req *http.Request) (*http.Response, error)
- type Resource
- type SystemData
- type TrackedResource
- type UpdateResource
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Automanage
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type ActionType ¶
type ActionType string
ActionType enumerates the values for action type.
const ( // ActionTypeInternal ... ActionTypeInternal ActionType = "Internal" )
func PossibleActionTypeValues ¶
func PossibleActionTypeValues() []ActionType
PossibleActionTypeValues returns an array of possible values for the ActionType const type.
type AssignmentReportProperties ¶
type AssignmentReportProperties struct { // StartTime - Start time of the configuration profile assignment processing. StartTime *string `json:"startTime,omitempty"` // EndTime - End time of the configuration profile assignment processing. EndTime *string `json:"endTime,omitempty"` // LastModifiedTime - READ-ONLY; Last modified time of the configuration profile assignment processing. LastModifiedTime *string `json:"lastModifiedTime,omitempty"` // Duration - READ-ONLY; Duration of the configuration profile assignment processing. Duration *string `json:"duration,omitempty"` // Type - READ-ONLY; Type of the configuration profile assignment processing (Initial/Consistency). Type *string `json:"type,omitempty"` // Status - READ-ONLY; The status of the configuration profile assignment. Status *string `json:"status,omitempty"` // ConfigurationProfile - READ-ONLY; The configurationProfile linked to the assignment. ConfigurationProfile *string `json:"configurationProfile,omitempty"` // Resources - READ-ONLY; List of resources processed by the configuration profile assignment. Resources *[]ReportResource `json:"resources,omitempty"` // Error - READ-ONLY; Error message, if any, returned by the configuration profile assignment processing. Error *ErrorDetail `json:"error,omitempty"` // ReportFormatVersion - READ-ONLY; Version of the report format ReportFormatVersion *string `json:"reportFormatVersion,omitempty"` }
AssignmentReportProperties data related to the report detail.
func (AssignmentReportProperties) MarshalJSON ¶
func (arp AssignmentReportProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AssignmentReportProperties.
type AzureEntityResource ¶
type AzureEntityResource struct { // Etag - READ-ONLY; Resource Etag. Etag *string `json:"etag,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.
func (AzureEntityResource) MarshalJSON ¶
func (aer AzureEntityResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AzureEntityResource.
type BaseClient ¶
BaseClient is the base client for Automanage.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BestPractice ¶
type BestPractice struct { autorest.Response `json:"-"` // ID - READ-ONLY; The fully qualified ID for the best practice. For example, /providers/Microsoft.Automanage/bestPractices/azureBestPracticesProduction ID *string `json:"id,omitempty"` // Type - READ-ONLY; The type of the resource. For example, Microsoft.Automanage/bestPractices Type *string `json:"type,omitempty"` // Name - READ-ONLY; The name of the best practice. For example, azureBestPracticesProduction Name *string `json:"name,omitempty"` // ConfigurationProfileProperties - Properties of the best practice. *ConfigurationProfileProperties `json:"properties,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,omitempty"` }
BestPractice definition of the Automanage best practice.
func (BestPractice) MarshalJSON ¶
func (bp BestPractice) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BestPractice.
func (*BestPractice) UnmarshalJSON ¶
func (bp *BestPractice) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BestPractice struct.
type BestPracticeList ¶
type BestPracticeList struct { autorest.Response `json:"-"` // Value - Result of the list best practice operation. Value *[]BestPractice `json:"value,omitempty"` }
BestPracticeList the response of the list best practice operation.
type BestPracticesClient ¶
type BestPracticesClient struct {
BaseClient
}
BestPracticesClient is the automanage Client
func NewBestPracticesClient ¶
func NewBestPracticesClient(subscriptionID string) BestPracticesClient
NewBestPracticesClient creates an instance of the BestPracticesClient client.
func NewBestPracticesClientWithBaseURI ¶
func NewBestPracticesClientWithBaseURI(baseURI string, subscriptionID string) BestPracticesClient
NewBestPracticesClientWithBaseURI creates an instance of the BestPracticesClient 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 (BestPracticesClient) Get ¶
func (client BestPracticesClient) Get(ctx context.Context, bestPracticeName string) (result BestPractice, err error)
Get get information about a Automanage best practice Parameters: bestPracticeName - the Automanage best practice name.
func (BestPracticesClient) GetPreparer ¶
func (client BestPracticesClient) GetPreparer(ctx context.Context, bestPracticeName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BestPracticesClient) GetResponder ¶
func (client BestPracticesClient) GetResponder(resp *http.Response) (result BestPractice, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BestPracticesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BestPracticesClient) ListByTenant ¶
func (client BestPracticesClient) ListByTenant(ctx context.Context) (result BestPracticeList, err error)
ListByTenant retrieve a list of Automanage best practices
func (BestPracticesClient) ListByTenantPreparer ¶
ListByTenantPreparer prepares the ListByTenant request.
func (BestPracticesClient) ListByTenantResponder ¶
func (client BestPracticesClient) ListByTenantResponder(resp *http.Response) (result BestPracticeList, err error)
ListByTenantResponder handles the response to the ListByTenant request. The method always closes the http.Response Body.
func (BestPracticesClient) ListByTenantSender ¶
ListByTenantSender sends the ListByTenant request. The method will close the http.Response Body if it receives an error.
type BestPracticesVersionsClient ¶
type BestPracticesVersionsClient struct {
BaseClient
}
BestPracticesVersionsClient is the automanage Client
func NewBestPracticesVersionsClient ¶
func NewBestPracticesVersionsClient(subscriptionID string) BestPracticesVersionsClient
NewBestPracticesVersionsClient creates an instance of the BestPracticesVersionsClient client.
func NewBestPracticesVersionsClientWithBaseURI ¶
func NewBestPracticesVersionsClientWithBaseURI(baseURI string, subscriptionID string) BestPracticesVersionsClient
NewBestPracticesVersionsClientWithBaseURI creates an instance of the BestPracticesVersionsClient 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 (BestPracticesVersionsClient) Get ¶
func (client BestPracticesVersionsClient) Get(ctx context.Context, bestPracticeName string, versionName string) (result BestPractice, err error)
Get get information about a Automanage best practice version Parameters: bestPracticeName - the Automanage best practice name. versionName - the Automanage best practice version name.
func (BestPracticesVersionsClient) GetPreparer ¶
func (client BestPracticesVersionsClient) GetPreparer(ctx context.Context, bestPracticeName string, versionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BestPracticesVersionsClient) GetResponder ¶
func (client BestPracticesVersionsClient) GetResponder(resp *http.Response) (result BestPractice, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BestPracticesVersionsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BestPracticesVersionsClient) ListByTenant ¶
func (client BestPracticesVersionsClient) ListByTenant(ctx context.Context, bestPracticeName string) (result BestPracticeList, err error)
ListByTenant retrieve a list of Automanage best practices versions Parameters: bestPracticeName - the Automanage best practice name.
func (BestPracticesVersionsClient) ListByTenantPreparer ¶
func (client BestPracticesVersionsClient) ListByTenantPreparer(ctx context.Context, bestPracticeName string) (*http.Request, error)
ListByTenantPreparer prepares the ListByTenant request.
func (BestPracticesVersionsClient) ListByTenantResponder ¶
func (client BestPracticesVersionsClient) ListByTenantResponder(resp *http.Response) (result BestPracticeList, err error)
ListByTenantResponder handles the response to the ListByTenant request. The method always closes the http.Response Body.
func (BestPracticesVersionsClient) ListByTenantSender ¶
func (client BestPracticesVersionsClient) ListByTenantSender(req *http.Request) (*http.Response, error)
ListByTenantSender sends the ListByTenant request. The method will close the http.Response Body if it receives an error.
type ConfigurationProfile ¶
type ConfigurationProfile struct { autorest.Response `json:"-"` // Properties - Properties of the configuration profile. Properties *ConfigurationProfileProperties `json:"properties,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,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"` }
ConfigurationProfile definition of the configuration profile.
func (ConfigurationProfile) MarshalJSON ¶
func (cp ConfigurationProfile) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConfigurationProfile.
type ConfigurationProfileAssignment ¶
type ConfigurationProfileAssignment struct { autorest.Response `json:"-"` // Properties - Properties of the configuration profile assignment. Properties *ConfigurationProfileAssignmentProperties `json:"properties,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,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 ¶
func (cpa ConfigurationProfileAssignment) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConfigurationProfileAssignment.
type ConfigurationProfileAssignmentList ¶
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 ¶
type ConfigurationProfileAssignmentProperties struct { // ConfigurationProfile - The Automanage configurationProfile ARM Resource URI. ConfigurationProfile *string `json:"configurationProfile,omitempty"` // TargetID - The target VM resource URI TargetID *string `json:"targetId,omitempty"` // Status - READ-ONLY; The status of onboarding, which only appears in the response. Status *string `json:"status,omitempty"` // ProfileOverrides - The profileOverrides setting for the configuration profile assignment. ProfileOverrides map[string]interface{} `json:"profileOverrides"` }
ConfigurationProfileAssignmentProperties automanage configuration profile assignment properties.
func (ConfigurationProfileAssignmentProperties) MarshalJSON ¶
func (cpap ConfigurationProfileAssignmentProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConfigurationProfileAssignmentProperties.
type ConfigurationProfileAssignmentsClient ¶
type ConfigurationProfileAssignmentsClient struct {
BaseClient
}
ConfigurationProfileAssignmentsClient is the automanage Client
func NewConfigurationProfileAssignmentsClient ¶
func NewConfigurationProfileAssignmentsClient(subscriptionID string) ConfigurationProfileAssignmentsClient
NewConfigurationProfileAssignmentsClient creates an instance of the ConfigurationProfileAssignmentsClient client.
func NewConfigurationProfileAssignmentsClientWithBaseURI ¶
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 ¶
func (client ConfigurationProfileAssignmentsClient) CreateOrUpdate(ctx context.Context, configurationProfileAssignmentName string, parameters ConfigurationProfileAssignment, resourceGroupName string, VMName string) (result ConfigurationProfileAssignment, 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 ¶
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 ¶
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 ¶
func (client ConfigurationProfileAssignmentsClient) 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 (ConfigurationProfileAssignmentsClient) Delete ¶
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 ¶
func (client ConfigurationProfileAssignmentsClient) DeletePreparer(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ConfigurationProfileAssignmentsClient) DeleteResponder ¶
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 ¶
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 ¶
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 ¶
func (client ConfigurationProfileAssignmentsClient) GetPreparer(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConfigurationProfileAssignmentsClient) GetResponder ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (client ConfigurationProfileAssignmentsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (ConfigurationProfileAssignmentsClient) ListBySubscriptionResponder ¶
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 ¶
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 ¶
func (client ConfigurationProfileAssignmentsClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListPreparer prepares the List request.
func (ConfigurationProfileAssignmentsClient) ListResponder ¶
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 ¶
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 ConfigurationProfileList ¶
type ConfigurationProfileList struct { autorest.Response `json:"-"` // Value - Result of the list ConfigurationProfile operation. Value *[]ConfigurationProfile `json:"value,omitempty"` }
ConfigurationProfileList the response of the list configuration profile operation.
type ConfigurationProfileProperties ¶
type ConfigurationProfileProperties struct { // Configuration - configuration dictionary of the configuration profile. Configuration interface{} `json:"configuration,omitempty"` // Overrides - overrides of the configuration profile. Overrides *[]interface{} `json:"overrides,omitempty"` }
ConfigurationProfileProperties automanage configuration profile properties.
type ConfigurationProfileUpdate ¶
type ConfigurationProfileUpdate struct { // Properties - Properties of the configuration profile. Properties *ConfigurationProfileProperties `json:"properties,omitempty"` // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
ConfigurationProfileUpdate definition of the configuration profile.
func (ConfigurationProfileUpdate) MarshalJSON ¶
func (CPU ConfigurationProfileUpdate) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConfigurationProfileUpdate.
type ConfigurationProfilesClient ¶
type ConfigurationProfilesClient struct {
BaseClient
}
ConfigurationProfilesClient is the automanage Client
func NewConfigurationProfilesClient ¶
func NewConfigurationProfilesClient(subscriptionID string) ConfigurationProfilesClient
NewConfigurationProfilesClient creates an instance of the ConfigurationProfilesClient client.
func NewConfigurationProfilesClientWithBaseURI ¶
func NewConfigurationProfilesClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationProfilesClient
NewConfigurationProfilesClientWithBaseURI creates an instance of the ConfigurationProfilesClient 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 (ConfigurationProfilesClient) CreateOrUpdate ¶
func (client ConfigurationProfilesClient) CreateOrUpdate(ctx context.Context, configurationProfileName string, resourceGroupName string, parameters ConfigurationProfile) (result ConfigurationProfile, err error)
CreateOrUpdate creates a configuration profile Parameters: configurationProfileName - name of the configuration profile. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to create or update configuration profile.
func (ConfigurationProfilesClient) CreateOrUpdatePreparer ¶
func (client ConfigurationProfilesClient) CreateOrUpdatePreparer(ctx context.Context, configurationProfileName string, resourceGroupName string, parameters ConfigurationProfile) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ConfigurationProfilesClient) CreateOrUpdateResponder ¶
func (client ConfigurationProfilesClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationProfile, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ConfigurationProfilesClient) CreateOrUpdateSender ¶
func (client ConfigurationProfilesClient) 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 (ConfigurationProfilesClient) Delete ¶
func (client ConfigurationProfilesClient) Delete(ctx context.Context, resourceGroupName string, configurationProfileName string) (result autorest.Response, err error)
Delete delete a configuration profile Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. configurationProfileName - name of the configuration profile
func (ConfigurationProfilesClient) DeletePreparer ¶
func (client ConfigurationProfilesClient) DeletePreparer(ctx context.Context, resourceGroupName string, configurationProfileName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ConfigurationProfilesClient) DeleteResponder ¶
func (client ConfigurationProfilesClient) 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 (ConfigurationProfilesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ConfigurationProfilesClient) Get ¶
func (client ConfigurationProfilesClient) Get(ctx context.Context, configurationProfileName string, resourceGroupName string) (result ConfigurationProfile, err error)
Get get information about a configuration profile Parameters: configurationProfileName - the configuration profile name. resourceGroupName - the name of the resource group. The name is case insensitive.
func (ConfigurationProfilesClient) GetPreparer ¶
func (client ConfigurationProfilesClient) GetPreparer(ctx context.Context, configurationProfileName string, resourceGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConfigurationProfilesClient) GetResponder ¶
func (client ConfigurationProfilesClient) GetResponder(resp *http.Response) (result ConfigurationProfile, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ConfigurationProfilesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ConfigurationProfilesClient) ListByResourceGroup ¶
func (client ConfigurationProfilesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ConfigurationProfileList, err error)
ListByResourceGroup retrieve a list of configuration profile within a given resource group Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.
func (ConfigurationProfilesClient) ListByResourceGroupPreparer ¶
func (client ConfigurationProfilesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ConfigurationProfilesClient) ListByResourceGroupResponder ¶
func (client ConfigurationProfilesClient) ListByResourceGroupResponder(resp *http.Response) (result ConfigurationProfileList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ConfigurationProfilesClient) ListByResourceGroupSender ¶
func (client ConfigurationProfilesClient) 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 (ConfigurationProfilesClient) ListBySubscription ¶
func (client ConfigurationProfilesClient) ListBySubscription(ctx context.Context) (result ConfigurationProfileList, err error)
ListBySubscription retrieve a list of configuration profile within a subscription
func (ConfigurationProfilesClient) ListBySubscriptionPreparer ¶
func (client ConfigurationProfilesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (ConfigurationProfilesClient) ListBySubscriptionResponder ¶
func (client ConfigurationProfilesClient) ListBySubscriptionResponder(resp *http.Response) (result ConfigurationProfileList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (ConfigurationProfilesClient) ListBySubscriptionSender ¶
func (client ConfigurationProfilesClient) 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 (ConfigurationProfilesClient) Update ¶
func (client ConfigurationProfilesClient) Update(ctx context.Context, configurationProfileName string, resourceGroupName string, parameters ConfigurationProfileUpdate) (result ConfigurationProfile, err error)
Update updates a configuration profile Parameters: configurationProfileName - name of the configuration profile. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to update configuration profile.
func (ConfigurationProfilesClient) UpdatePreparer ¶
func (client ConfigurationProfilesClient) UpdatePreparer(ctx context.Context, configurationProfileName string, resourceGroupName string, parameters ConfigurationProfileUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ConfigurationProfilesClient) UpdateResponder ¶
func (client ConfigurationProfilesClient) UpdateResponder(resp *http.Response) (result ConfigurationProfile, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ConfigurationProfilesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type ConfigurationProfilesVersionsClient ¶
type ConfigurationProfilesVersionsClient struct {
BaseClient
}
ConfigurationProfilesVersionsClient is the automanage Client
func NewConfigurationProfilesVersionsClient ¶
func NewConfigurationProfilesVersionsClient(subscriptionID string) ConfigurationProfilesVersionsClient
NewConfigurationProfilesVersionsClient creates an instance of the ConfigurationProfilesVersionsClient client.
func NewConfigurationProfilesVersionsClientWithBaseURI ¶
func NewConfigurationProfilesVersionsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationProfilesVersionsClient
NewConfigurationProfilesVersionsClientWithBaseURI creates an instance of the ConfigurationProfilesVersionsClient 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 (ConfigurationProfilesVersionsClient) CreateOrUpdate ¶
func (client ConfigurationProfilesVersionsClient) CreateOrUpdate(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string, parameters ConfigurationProfile) (result ConfigurationProfile, err error)
CreateOrUpdate creates a configuration profile version Parameters: configurationProfileName - name of the configuration profile. versionName - the configuration profile version name. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to create or update configuration profile.
func (ConfigurationProfilesVersionsClient) CreateOrUpdatePreparer ¶
func (client ConfigurationProfilesVersionsClient) CreateOrUpdatePreparer(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string, parameters ConfigurationProfile) (*http.Request, error)
CreateOrUpdatePreparer prepares the CreateOrUpdate request.
func (ConfigurationProfilesVersionsClient) CreateOrUpdateResponder ¶
func (client ConfigurationProfilesVersionsClient) CreateOrUpdateResponder(resp *http.Response) (result ConfigurationProfile, err error)
CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.
func (ConfigurationProfilesVersionsClient) CreateOrUpdateSender ¶
func (client ConfigurationProfilesVersionsClient) 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 (ConfigurationProfilesVersionsClient) Delete ¶
func (client ConfigurationProfilesVersionsClient) Delete(ctx context.Context, resourceGroupName string, configurationProfileName string, versionName string) (result autorest.Response, err error)
Delete delete a configuration profile version Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. configurationProfileName - name of the configuration profile versionName - the configuration profile version name.
func (ConfigurationProfilesVersionsClient) DeletePreparer ¶
func (client ConfigurationProfilesVersionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, configurationProfileName string, versionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ConfigurationProfilesVersionsClient) DeleteResponder ¶
func (client ConfigurationProfilesVersionsClient) 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 (ConfigurationProfilesVersionsClient) DeleteSender ¶
func (client ConfigurationProfilesVersionsClient) 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 (ConfigurationProfilesVersionsClient) Get ¶
func (client ConfigurationProfilesVersionsClient) Get(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string) (result ConfigurationProfile, err error)
Get get information about a configuration profile version Parameters: configurationProfileName - the configuration profile name. versionName - the configuration profile version name. resourceGroupName - the name of the resource group. The name is case insensitive.
func (ConfigurationProfilesVersionsClient) GetPreparer ¶
func (client ConfigurationProfilesVersionsClient) GetPreparer(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ConfigurationProfilesVersionsClient) GetResponder ¶
func (client ConfigurationProfilesVersionsClient) GetResponder(resp *http.Response) (result ConfigurationProfile, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ConfigurationProfilesVersionsClient) GetSender ¶
func (client ConfigurationProfilesVersionsClient) 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 (ConfigurationProfilesVersionsClient) ListChildResources ¶
func (client ConfigurationProfilesVersionsClient) ListChildResources(ctx context.Context, configurationProfileName string, resourceGroupName string) (result ConfigurationProfileList, err error)
ListChildResources retrieve a list of configuration profile version for a configuration profile Parameters: configurationProfileName - name of the configuration profile. resourceGroupName - the name of the resource group. The name is case insensitive.
func (ConfigurationProfilesVersionsClient) ListChildResourcesPreparer ¶
func (client ConfigurationProfilesVersionsClient) ListChildResourcesPreparer(ctx context.Context, configurationProfileName string, resourceGroupName string) (*http.Request, error)
ListChildResourcesPreparer prepares the ListChildResources request.
func (ConfigurationProfilesVersionsClient) ListChildResourcesResponder ¶
func (client ConfigurationProfilesVersionsClient) ListChildResourcesResponder(resp *http.Response) (result ConfigurationProfileList, err error)
ListChildResourcesResponder handles the response to the ListChildResources request. The method always closes the http.Response Body.
func (ConfigurationProfilesVersionsClient) ListChildResourcesSender ¶
func (client ConfigurationProfilesVersionsClient) ListChildResourcesSender(req *http.Request) (*http.Response, error)
ListChildResourcesSender sends the ListChildResources request. The method will close the http.Response Body if it receives an error.
func (ConfigurationProfilesVersionsClient) Update ¶
func (client ConfigurationProfilesVersionsClient) Update(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string, parameters ConfigurationProfileUpdate) (result ConfigurationProfile, err error)
Update updates a configuration profile version Parameters: configurationProfileName - name of the configuration profile. versionName - the configuration profile version name. resourceGroupName - the name of the resource group. The name is case insensitive. parameters - parameters supplied to update configuration profile.
func (ConfigurationProfilesVersionsClient) UpdatePreparer ¶
func (client ConfigurationProfilesVersionsClient) UpdatePreparer(ctx context.Context, configurationProfileName string, versionName string, resourceGroupName string, parameters ConfigurationProfileUpdate) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ConfigurationProfilesVersionsClient) UpdateResponder ¶
func (client ConfigurationProfilesVersionsClient) UpdateResponder(resp *http.Response) (result ConfigurationProfile, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ConfigurationProfilesVersionsClient) UpdateSender ¶
func (client ConfigurationProfilesVersionsClient) 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 CreatedByType ¶
type CreatedByType string
CreatedByType enumerates the values for created by type.
const ( // CreatedByTypeApplication ... CreatedByTypeApplication CreatedByType = "Application" // CreatedByTypeKey ... CreatedByTypeKey CreatedByType = "Key" // CreatedByTypeManagedIdentity ... CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" // CreatedByTypeUser ... CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
type ErrorAdditionalInfo ¶
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.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorAdditionalInfo.
type ErrorDetail ¶
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.
func (ErrorDetail) MarshalJSON ¶
func (ed ErrorDetail) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorDetail.
type ErrorResponse ¶
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 ¶
type Operation struct { // Name - READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" Name *string `json:"name,omitempty"` // IsDataAction - READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. IsDataAction *bool `json:"isDataAction,omitempty"` // Display - Localized display information for this particular operation. Display *OperationDisplay `json:"display,omitempty"` // Origin - READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system". Possible values include: 'OriginUser', 'OriginSystem', 'OriginUsersystem' Origin Origin `json:"origin,omitempty"` // ActionType - READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Possible values include: 'ActionTypeInternal' ActionType ActionType `json:"actionType,omitempty"` }
Operation details of a REST API operation, returned from the Resource Provider Operations API
func (Operation) MarshalJSON ¶
MarshalJSON is the custom marshaler for Operation.
type OperationDisplay ¶
type OperationDisplay struct { // Provider - READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". Provider *string `json:"provider,omitempty"` // Resource - READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". Resource *string `json:"resource,omitempty"` // Operation - READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". Operation *string `json:"operation,omitempty"` // Description - READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views. Description *string `json:"description,omitempty"` }
OperationDisplay localized display information for this particular operation.
func (OperationDisplay) MarshalJSON ¶
func (o OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationDisplay.
type OperationListResult ¶
type OperationListResult struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of operations supported by the resource provider Value *[]Operation `json:"value,omitempty"` // NextLink - READ-ONLY; URL to get the next set of operation list results (if there are any). NextLink *string `json:"nextLink,omitempty"` }
OperationListResult a list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
func (OperationListResult) MarshalJSON ¶
func (olr OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationListResult.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the automanage Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error)
List lists all of the available Automanage REST API operations.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Origin ¶
type Origin string
Origin enumerates the values for origin.
func PossibleOriginValues ¶
func PossibleOriginValues() []Origin
PossibleOriginValues returns an array of possible values for the Origin const type.
type ProxyResource ¶
type ProxyResource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
func (ProxyResource) MarshalJSON ¶
func (pr ProxyResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ProxyResource.
type Report ¶
type Report struct { autorest.Response `json:"-"` // AssignmentReportProperties - The properties for the report. *AssignmentReportProperties `json:"properties,omitempty"` // SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information. SystemData *SystemData `json:"systemData,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"` }
Report definition of the report.
func (Report) MarshalJSON ¶
MarshalJSON is the custom marshaler for Report.
func (*Report) UnmarshalJSON ¶
UnmarshalJSON is the custom unmarshaler for Report struct.
type ReportList ¶
type ReportList struct { autorest.Response `json:"-"` // Value - Result of the list report operation. Value *[]Report `json:"value,omitempty"` }
ReportList the response of the list report operation.
type ReportResource ¶
type ReportResource struct { // Name - READ-ONLY; Name of the resource. Name *string `json:"name,omitempty"` // ID - READ-ONLY; ARM id of the resource. ID *string `json:"id,omitempty"` // Type - READ-ONLY; Type of the resource. Type *string `json:"type,omitempty"` // Status - READ-ONLY; Status of the resource. Status *string `json:"status,omitempty"` // Error - READ-ONLY; Error message, if any, returned when deploying the resource. Error *ErrorDetail `json:"error,omitempty"` }
ReportResource details about the resource processed by the configuration profile assignment
func (ReportResource) MarshalJSON ¶
func (rr ReportResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ReportResource.
type ReportsClient ¶
type ReportsClient struct {
BaseClient
}
ReportsClient is the automanage Client
func NewReportsClient ¶
func NewReportsClient(subscriptionID string) ReportsClient
NewReportsClient creates an instance of the ReportsClient client.
func NewReportsClientWithBaseURI ¶
func NewReportsClientWithBaseURI(baseURI string, subscriptionID string) ReportsClient
NewReportsClientWithBaseURI creates an instance of the ReportsClient 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 (ReportsClient) Get ¶
func (client ReportsClient) Get(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, reportName string, VMName string) (result Report, err error)
Get get information about a report associated with a configuration profile assignment run Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. configurationProfileAssignmentName - the configuration profile assignment name. reportName - the report name. VMName - the name of the virtual machine.
func (ReportsClient) GetPreparer ¶
func (client ReportsClient) GetPreparer(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, reportName string, VMName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ReportsClient) GetResponder ¶
func (client ReportsClient) GetResponder(resp *http.Response) (result Report, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ReportsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ReportsClient) ListByConfigurationProfileAssignments ¶
func (client ReportsClient) ListByConfigurationProfileAssignments(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (result ReportList, err error)
ListByConfigurationProfileAssignments retrieve a list of reports within a given 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 (ReportsClient) ListByConfigurationProfileAssignmentsPreparer ¶
func (client ReportsClient) ListByConfigurationProfileAssignmentsPreparer(ctx context.Context, resourceGroupName string, configurationProfileAssignmentName string, VMName string) (*http.Request, error)
ListByConfigurationProfileAssignmentsPreparer prepares the ListByConfigurationProfileAssignments request.
func (ReportsClient) ListByConfigurationProfileAssignmentsResponder ¶
func (client ReportsClient) ListByConfigurationProfileAssignmentsResponder(resp *http.Response) (result ReportList, err error)
ListByConfigurationProfileAssignmentsResponder handles the response to the ListByConfigurationProfileAssignments request. The method always closes the http.Response Body.
func (ReportsClient) ListByConfigurationProfileAssignmentsSender ¶
func (client ReportsClient) ListByConfigurationProfileAssignmentsSender(req *http.Request) (*http.Response, error)
ListByConfigurationProfileAssignmentsSender sends the ListByConfigurationProfileAssignments request. The method will close the http.Response Body if it receives an error.
type Resource ¶
type Resource struct { // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
Resource common fields that are returned in the response for all Azure Resource Manager resources
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type SystemData ¶
type SystemData struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC). CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemData metadata pertaining to creation and last modification of the resource.
type TrackedResource ¶
type TrackedResource struct { // Tags - Resource tags. Tags map[string]*string `json:"tags"` // Location - The geo-location where the resource lives Location *string `json:"location,omitempty"` // ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the resource Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" Type *string `json:"type,omitempty"` }
TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'
func (TrackedResource) MarshalJSON ¶
func (tr TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TrackedResource.
type UpdateResource ¶
type UpdateResource struct { // Tags - The tags of the resource. Tags map[string]*string `json:"tags"` }
UpdateResource represents an update resource
func (UpdateResource) MarshalJSON ¶
func (ur UpdateResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for UpdateResource.