Documentation ¶
Index ¶
- func PossibleValuesForModuleProvisioningState() []string
- func ValidateAutomationAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePython2PackageID(input interface{}, key string) (warnings []string, errors []error)
- type AutomationAccountId
- type ContentHash
- type ContentLink
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAutomationAccountCompleteResult
- type ListByAutomationAccountCustomPager
- type ListByAutomationAccountOperationResponse
- type Module
- type ModuleErrorInfo
- type ModuleOperationPredicate
- type ModuleProperties
- type ModuleProvisioningState
- type Python2PackageClient
- func (c Python2PackageClient) CreateOrUpdate(ctx context.Context, id Python2PackageId, input PythonPackageCreateParameters) (result CreateOrUpdateOperationResponse, err error)
- func (c Python2PackageClient) Delete(ctx context.Context, id Python2PackageId) (result DeleteOperationResponse, err error)
- func (c Python2PackageClient) Get(ctx context.Context, id Python2PackageId) (result GetOperationResponse, err error)
- func (c Python2PackageClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
- func (c Python2PackageClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
- func (c Python2PackageClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, ...) (result ListByAutomationAccountCompleteResult, err error)
- func (c Python2PackageClient) Update(ctx context.Context, id Python2PackageId, input PythonPackageUpdateParameters) (result UpdateOperationResponse, err error)
- type Python2PackageId
- type PythonPackageCreateParameters
- type PythonPackageCreateProperties
- type PythonPackageUpdateParameters
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForModuleProvisioningState ¶
func PossibleValuesForModuleProvisioningState() []string
func ValidateAutomationAccountID ¶
ValidateAutomationAccountID checks that 'input' can be parsed as a Automation Account ID
func ValidatePython2PackageID ¶
ValidatePython2PackageID checks that 'input' can be parsed as a Python 2 Package 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 ContentHash ¶
type ContentLink ¶
type ContentLink struct { ContentHash *ContentHash `json:"contentHash,omitempty"` Uri *string `json:"uri,omitempty"` Version *string `json:"version,omitempty"` }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByAutomationAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByAutomationAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByAutomationAccountCustomPager) NextPageLink() *odata.Link
type Module ¶
type Module struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ModuleProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ModuleErrorInfo ¶
type ModuleOperationPredicate ¶
type ModuleOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (ModuleOperationPredicate) Matches ¶
func (p ModuleOperationPredicate) Matches(input Module) bool
type ModuleProperties ¶
type ModuleProperties struct { ActivityCount *int64 `json:"activityCount,omitempty"` ContentLink *ContentLink `json:"contentLink,omitempty"` CreationTime *string `json:"creationTime,omitempty"` Description *string `json:"description,omitempty"` Error *ModuleErrorInfo `json:"error,omitempty"` IsComposite *bool `json:"isComposite,omitempty"` IsGlobal *bool `json:"isGlobal,omitempty"` LastModifiedTime *string `json:"lastModifiedTime,omitempty"` ProvisioningState *ModuleProvisioningState `json:"provisioningState,omitempty"` SizeInBytes *int64 `json:"sizeInBytes,omitempty"` Version *string `json:"version,omitempty"` }
func (*ModuleProperties) GetCreationTimeAsTime ¶
func (o *ModuleProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*ModuleProperties) GetLastModifiedTimeAsTime ¶
func (o *ModuleProperties) GetLastModifiedTimeAsTime() (*time.Time, error)
func (*ModuleProperties) SetCreationTimeAsTime ¶
func (o *ModuleProperties) SetCreationTimeAsTime(input time.Time)
func (*ModuleProperties) SetLastModifiedTimeAsTime ¶
func (o *ModuleProperties) SetLastModifiedTimeAsTime(input time.Time)
type ModuleProvisioningState ¶
type ModuleProvisioningState string
const ( ModuleProvisioningStateActivitiesStored ModuleProvisioningState = "ActivitiesStored" ModuleProvisioningStateCancelled ModuleProvisioningState = "Cancelled" ModuleProvisioningStateConnectionTypeImported ModuleProvisioningState = "ConnectionTypeImported" ModuleProvisioningStateContentDownloaded ModuleProvisioningState = "ContentDownloaded" ModuleProvisioningStateContentRetrieved ModuleProvisioningState = "ContentRetrieved" ModuleProvisioningStateContentStored ModuleProvisioningState = "ContentStored" ModuleProvisioningStateContentValidated ModuleProvisioningState = "ContentValidated" ModuleProvisioningStateCreated ModuleProvisioningState = "Created" ModuleProvisioningStateCreating ModuleProvisioningState = "Creating" ModuleProvisioningStateFailed ModuleProvisioningState = "Failed" ModuleProvisioningStateModuleDataStored ModuleProvisioningState = "ModuleDataStored" ModuleProvisioningStateModuleImportRunbookComplete ModuleProvisioningState = "ModuleImportRunbookComplete" ModuleProvisioningStateRunningImportModuleRunbook ModuleProvisioningState = "RunningImportModuleRunbook" ModuleProvisioningStateStartingImportModuleRunbook ModuleProvisioningState = "StartingImportModuleRunbook" ModuleProvisioningStateSucceeded ModuleProvisioningState = "Succeeded" ModuleProvisioningStateUpdating ModuleProvisioningState = "Updating" )
func (*ModuleProvisioningState) UnmarshalJSON ¶
func (s *ModuleProvisioningState) UnmarshalJSON(bytes []byte) error
type Python2PackageClient ¶
type Python2PackageClient struct {
Client *resourcemanager.Client
}
func NewPython2PackageClientWithBaseURI ¶
func NewPython2PackageClientWithBaseURI(sdkApi sdkEnv.Api) (*Python2PackageClient, error)
func (Python2PackageClient) CreateOrUpdate ¶
func (c Python2PackageClient) CreateOrUpdate(ctx context.Context, id Python2PackageId, input PythonPackageCreateParameters) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (Python2PackageClient) Delete ¶
func (c Python2PackageClient) Delete(ctx context.Context, id Python2PackageId) (result DeleteOperationResponse, err error)
Delete ...
func (Python2PackageClient) Get ¶
func (c Python2PackageClient) Get(ctx context.Context, id Python2PackageId) (result GetOperationResponse, err error)
Get ...
func (Python2PackageClient) ListByAutomationAccount ¶
func (c Python2PackageClient) ListByAutomationAccount(ctx context.Context, id AutomationAccountId) (result ListByAutomationAccountOperationResponse, err error)
ListByAutomationAccount ...
func (Python2PackageClient) ListByAutomationAccountComplete ¶
func (c Python2PackageClient) ListByAutomationAccountComplete(ctx context.Context, id AutomationAccountId) (ListByAutomationAccountCompleteResult, error)
ListByAutomationAccountComplete retrieves all the results into a single object
func (Python2PackageClient) ListByAutomationAccountCompleteMatchingPredicate ¶
func (c Python2PackageClient) ListByAutomationAccountCompleteMatchingPredicate(ctx context.Context, id AutomationAccountId, predicate ModuleOperationPredicate) (result ListByAutomationAccountCompleteResult, err error)
ListByAutomationAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (Python2PackageClient) Update ¶
func (c Python2PackageClient) Update(ctx context.Context, id Python2PackageId, input PythonPackageUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type Python2PackageId ¶
type Python2PackageId struct { SubscriptionId string ResourceGroupName string AutomationAccountName string Python2PackageName string }
Python2PackageId is a struct representing the Resource ID for a Python 2 Package
func NewPython2PackageID ¶
func NewPython2PackageID(subscriptionId string, resourceGroupName string, automationAccountName string, python2PackageName string) Python2PackageId
NewPython2PackageID returns a new Python2PackageId struct
func ParsePython2PackageID ¶
func ParsePython2PackageID(input string) (*Python2PackageId, error)
ParsePython2PackageID parses 'input' into a Python2PackageId
func ParsePython2PackageIDInsensitively ¶
func ParsePython2PackageIDInsensitively(input string) (*Python2PackageId, error)
ParsePython2PackageIDInsensitively parses 'input' case-insensitively into a Python2PackageId note: this method should only be used for API response data and not user input
func (*Python2PackageId) FromParseResult ¶
func (id *Python2PackageId) FromParseResult(input resourceids.ParseResult) error
func (Python2PackageId) ID ¶
func (id Python2PackageId) ID() string
ID returns the formatted Python 2 Package ID
func (Python2PackageId) Segments ¶
func (id Python2PackageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Python 2 Package ID
func (Python2PackageId) String ¶
func (id Python2PackageId) String() string
String returns a human-readable description of this Python 2 Package ID
type PythonPackageCreateParameters ¶
type PythonPackageCreateParameters struct { Properties PythonPackageCreateProperties `json:"properties"` Tags *map[string]string `json:"tags,omitempty"` }
type PythonPackageCreateProperties ¶
type PythonPackageCreateProperties struct {
ContentLink ContentLink `json:"contentLink"`
}
Source Files ¶
- client.go
- constants.go
- id_automationaccount.go
- id_python2package.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyautomationaccount.go
- method_update.go
- model_contenthash.go
- model_contentlink.go
- model_module.go
- model_moduleerrorinfo.go
- model_moduleproperties.go
- model_pythonpackagecreateparameters.go
- model_pythonpackagecreateproperties.go
- model_pythonpackageupdateparameters.go
- predicates.go
- version.go