Documentation ¶
Index ¶
- func PossibleValuesForContentSourceType() []string
- func PossibleValuesForDscConfigurationProvisioningState() []string
- func PossibleValuesForDscConfigurationState() []string
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateConfigurationID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type ConfigurationId
- type ContentHash
- type ContentSource
- type ContentSourceType
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DscConfiguration
- type DscConfigurationClient
- func (c DscConfigurationClient) CreateOrUpdate(ctx context.Context, id ConfigurationId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c DscConfigurationClient) Delete(ctx context.Context, id ConfigurationId) (result DeleteOperationResponse, err error)
- func (c DscConfigurationClient) Get(ctx context.Context, id ConfigurationId) (result GetOperationResponse, err error)
- func (c DscConfigurationClient) GetContent(ctx context.Context, id ConfigurationId) (result GetContentOperationResponse, err error)
- func (c DscConfigurationClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountOperationResponse, err error)
- func (c DscConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, ...) (ListByAutomationAccountCompleteResult, error)
- func (c DscConfigurationClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error)
- func (c DscConfigurationClient) Update(ctx context.Context, id ConfigurationId, ...) (result UpdateOperationResponse, err error)
- type DscConfigurationCreateOrUpdateParameters
- type DscConfigurationCreateOrUpdateProperties
- type DscConfigurationOperationPredicate
- type DscConfigurationParameter
- type DscConfigurationProperties
- func (o *DscConfigurationProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *DscConfigurationProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
- func (o *DscConfigurationProperties) SetCreationTimeAsTime(input time.Time)
- func (o *DscConfigurationProperties) SetLastModifiedTimeAsTime(input time.Time)
- type DscConfigurationProvisioningState
- type DscConfigurationState
- type DscConfigurationUpdateParameters
- type GetContentOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountOperationOptions
- type ListByAutomationAccountOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContentSourceType ¶
func PossibleValuesForContentSourceType() []string
func PossibleValuesForDscConfigurationProvisioningState ¶
func PossibleValuesForDscConfigurationProvisioningState() []string
func PossibleValuesForDscConfigurationState ¶
func PossibleValuesForDscConfigurationState() []string
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidateConfigurationID ¶
ValidateConfigurationID checks that 'input' can be parsed as a Configuration ID
Types ¶
type AutomationAccountId ¶
type AutomationAccountId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string }
AutomationAccountId is a struct representing the Resource ID for a Automation Account
func NewAutomationAccountID ¶
func NewAutomationAccountID(subscriptionId string, resourceGroupName string, automationAccountName string) AutomationAccountId
NewAutomationAccountID returns a new AutomationAccountId struct
func ParseAutomationAccountID ¶
func ParseAutomationAccountID(input string) (*AutomationAccountId, error)
ParseAutomationAccountID parses 'input' into a AutomationAccountId
func ParseAutomationAccountIDInsensitively ¶
func ParseAutomationAccountIDInsensitively(input string) (*AutomationAccountId, error)
ParseAutomationAccountIDInsensitively parses 'input' case-insensitively into a AutomationAccountId note: this method should only be used for API response data and not user input
func (*AutomationAccountId) FromParseResult ¶
func (id *AutomationAccountId) FromParseResult(input resourceids.ParseResult) error
func (AutomationAccountId) ID ¶
func (id AutomationAccountId) ID() string
ID returns the formatted Automation Account ID
func (AutomationAccountId) Segments ¶
func (id AutomationAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Automation Account ID
func (AutomationAccountId) String ¶
func (id AutomationAccountId) String() string
String returns a human-readable description of this Automation Account ID
type ConfigurationId ¶
type ConfigurationId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string ConfigurationName string }
ConfigurationId is a struct representing the Resource ID for a Configuration
func NewConfigurationID ¶
func NewConfigurationID(subscriptionId string, resourceGroupName string, automationAccountName string, configurationName string) ConfigurationId
NewConfigurationID returns a new ConfigurationId struct
func ParseConfigurationID ¶
func ParseConfigurationID(input string) (*ConfigurationId, error)
ParseConfigurationID parses 'input' into a ConfigurationId
func ParseConfigurationIDInsensitively ¶
func ParseConfigurationIDInsensitively(input string) (*ConfigurationId, error)
ParseConfigurationIDInsensitively parses 'input' case-insensitively into a ConfigurationId note: this method should only be used for API response data and not user input
func (*ConfigurationId) FromParseResult ¶
func (id *ConfigurationId) FromParseResult(input resourceids.ParseResult) error
func (ConfigurationId) ID ¶
func (id ConfigurationId) ID() string
ID returns the formatted Configuration ID
func (ConfigurationId) Segments ¶
func (id ConfigurationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Configuration ID
func (ConfigurationId) String ¶
func (id ConfigurationId) String() string
String returns a human-readable description of this Configuration ID
type ContentHash ¶
type ContentSource ¶
type ContentSource struct { Hash *ContentHash `json:"hash,omitempty"` Type *ContentSourceType `json:"type,omitempty"` Value *string `json:"value,omitempty"` Version *string `json:"version,omitempty"` }
type ContentSourceType ¶
type ContentSourceType string
const ( ContentSourceTypeEmbeddedContent ContentSourceType = "embeddedContent" ContentSourceTypeUri ContentSourceType = "uri" )
func (*ContentSourceType) UnmarshalJSON ¶
func (s *ContentSourceType) UnmarshalJSON(bytes []byte) error
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DscConfiguration }
type DeleteOperationResponse ¶
type DscConfiguration ¶
type DscConfiguration struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *DscConfigurationProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type DscConfigurationClient ¶
type DscConfigurationClient struct {
Client *resourcemanager.Client
}
func NewDscConfigurationClientWithBaseURI ¶
func NewDscConfigurationClientWithBaseURI(sdkApi sdkEnv.Api) (*DscConfigurationClient, error)
func (DscConfigurationClient) CreateOrUpdate ¶
func (c DscConfigurationClient) CreateOrUpdate(ctx context.Context, id ConfigurationId, input DscConfigurationCreateOrUpdateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DscConfigurationClient) Delete ¶
func (c DscConfigurationClient) Delete(ctx context.Context, id ConfigurationId) (result DeleteOperationResponse, err error)
Delete ...
func (DscConfigurationClient) Get ¶
func (c DscConfigurationClient) Get(ctx context.Context, id ConfigurationId) (result GetOperationResponse, err error)
Get ...
func (DscConfigurationClient) GetContent ¶
func (c DscConfigurationClient) GetContent(ctx context.Context, id ConfigurationId) (result GetContentOperationResponse, err error)
GetContent ...
func (DscConfigurationClient) ListByAutomationAccount ¶
func (c DscConfigurationClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (DscConfigurationClient) ListByAutomationAccountComplete ¶
func (c DscConfigurationClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (DscConfigurationClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c DscConfigurationClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, options ListByAutomationAccountOperationOptions, predicate DscConfigurationOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DscConfigurationClient) Update ¶
func (c DscConfigurationClient) Update(ctx context.Context, id ConfigurationId, input DscConfigurationUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type DscConfigurationCreateOrUpdateParameters ¶
type DscConfigurationCreateOrUpdateParameters struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties DscConfigurationCreateOrUpdateProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type DscConfigurationCreateOrUpdateProperties ¶
type DscConfigurationCreateOrUpdateProperties struct { Description *string `json:"description,omitempty"` LogProgress *bool `json:"logProgress,omitempty"` LogVerbose *bool `json:"logVerbose,omitempty"` Parameters *map[string]DscConfigurationParameter `json:"parameters,omitempty"` Source ContentSource `json:"source"` }
type DscConfigurationOperationPredicate ¶
type DscConfigurationOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (DscConfigurationOperationPredicate) Matches ¶
func (p DscConfigurationOperationPredicate) Matches(input DscConfiguration) bool
type DscConfigurationProperties ¶
type DscConfigurationProperties struct { CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` JobCount *int64 `json:"jobCount,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` LogVerbose *bool `json:"logVerbose,omitempty"` NodeConfigurationCount *int64 `json:"nodeConfigurationCount,omitempty"` Parameters *map[string]DscConfigurationParameter `json:"parameters,omitempty"` ProvisioningState *DscConfigurationProvisioningState `json:"provisioningState,omitempty"` Source *ContentSource `json:"source,omitempty"` State *DscConfigurationState `json:"state,omitempty"` }
func (*DscConfigurationProperties) GetCreationTimeAsTime ¶
func (o *DscConfigurationProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*DscConfigurationProperties) GetLastModifiedTimeAsTime ¶
func (o *DscConfigurationProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*DscConfigurationProperties) SetCreationTimeAsTime ¶
func (o *DscConfigurationProperties) SetCreationTimeAsTime(input time.Time)
func (*DscConfigurationProperties) SetLastModifiedTimeAsTime ¶
func (o *DscConfigurationProperties) SetLastModifiedTimeAsTime(input time.Time)
type DscConfigurationProvisioningState ¶
type DscConfigurationProvisioningState string
const (
DscConfigurationProvisioningStateSucceeded DscConfigurationProvisioningState = "Succeeded"
)
func (*DscConfigurationProvisioningState) UnmarshalJSON ¶
func (s *DscConfigurationProvisioningState) UnmarshalJSON(bytes []byte) error
type DscConfigurationState ¶
type DscConfigurationState string
const ( DscConfigurationStateEdit DscConfigurationState = "Edit" DscConfigurationStateNew DscConfigurationState = "New" DscConfigurationStatePublished DscConfigurationState = "Published" )
func (*DscConfigurationState) UnmarshalJSON ¶
func (s *DscConfigurationState) UnmarshalJSON(bytes []byte) error
type DscConfigurationUpdateParameters ¶
type DscConfigurationUpdateParameters struct { Name *string `json:"name,omitempty"` Properties *DscConfigurationCreateOrUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DscConfiguration }
type ListByAutomationAccountCompleteResult ¶
type ListByAutomationAccountCompleteResult struct { LatestHttpResponse *http.Response Items []DscConfiguration }
type ListByAutomationAccountOperationOptions ¶
type ListByAutomationAccountOperationOptions struct { Filter *string Inlinecount *string Skip *int64 Top *int64 }
func DefaultListByAutomationAccountOperationOptions ¶
func DefaultListByAutomationAccountOperationOptions() ListByAutomationAccountOperationOptions
func (ListByAutomationAccountOperationOptions) ToHeaders ¶
func (o ListByAutomationAccountOperationOptions) ToHeaders() *client.Headers
func (ListByAutomationAccountOperationOptions) ToOData ¶
func (o ListByAutomationAccountOperationOptions) ToOData() *odata.Query
func (ListByAutomationAccountOperationOptions) ToQuery ¶
func (o ListByAutomationAccountOperationOptions) ToQuery() *client.QueryParams
type ListByAutomationAccountOperationResponse ¶
type ListByAutomationAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]DscConfiguration }
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DscConfiguration }
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- id_configuration.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getcontent.go
- method_listbyautomationaccount.go
- method_update.go
- model_contenthash.go
- model_contentsource.go
- model_dscconfiguration.go
- model_dscconfigurationcreateorupdateparameters.go
- model_dscconfigurationcreateorupdateproperties.go
- model_dscconfigurationparameter.go
- model_dscconfigurationproperties.go
- model_dscconfigurationupdateparameters.go
- predicates.go
- version.go