Documentation ¶
Index ¶
- func PossibleValuesForOptionalParamEnum() []string
- func PossibleValuesForScriptCmdletAudience() []string
- func PossibleValuesForScriptCmdletProvisioningState() []string
- func PossibleValuesForScriptParameterTypes() []string
- func PossibleValuesForVisibilityParameterEnum() []string
- func ValidateScriptCmdletID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateScriptPackageID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type OptionalParamEnum
- type ScriptCmdlet
- type ScriptCmdletAudience
- type ScriptCmdletId
- type ScriptCmdletOperationPredicate
- type ScriptCmdletProperties
- type ScriptCmdletProvisioningState
- type ScriptCmdletsClient
- func (c ScriptCmdletsClient) Get(ctx context.Context, id ScriptCmdletId) (result GetOperationResponse, err error)
- func (c ScriptCmdletsClient) List(ctx context.Context, id ScriptPackageId) (result ListOperationResponse, err error)
- func (c ScriptCmdletsClient) ListComplete(ctx context.Context, id ScriptPackageId) (ListCompleteResult, error)
- func (c ScriptCmdletsClient) ListCompleteMatchingPredicate(ctx context.Context, id ScriptPackageId, ...) (result ListCompleteResult, err error)
- type ScriptPackageId
- type ScriptParameter
- type ScriptParameterTypes
- type VisibilityParameterEnum
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForOptionalParamEnum ¶
func PossibleValuesForOptionalParamEnum() []string
func PossibleValuesForScriptCmdletAudience ¶
func PossibleValuesForScriptCmdletAudience() []string
func PossibleValuesForScriptCmdletProvisioningState ¶
func PossibleValuesForScriptCmdletProvisioningState() []string
func PossibleValuesForScriptParameterTypes ¶
func PossibleValuesForScriptParameterTypes() []string
func PossibleValuesForVisibilityParameterEnum ¶
func PossibleValuesForVisibilityParameterEnum() []string
func ValidateScriptCmdletID ¶
ValidateScriptCmdletID checks that 'input' can be parsed as a Script Cmdlet ID
func ValidateScriptPackageID ¶
ValidateScriptPackageID checks that 'input' can be parsed as a Script Package ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ScriptCmdlet }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ScriptCmdlet }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ScriptCmdlet }
type OptionalParamEnum ¶
type OptionalParamEnum string
const ( OptionalParamEnumOptional OptionalParamEnum = "Optional" OptionalParamEnumRequired OptionalParamEnum = "Required" )
func (*OptionalParamEnum) UnmarshalJSON ¶
func (s *OptionalParamEnum) UnmarshalJSON(bytes []byte) error
type ScriptCmdlet ¶
type ScriptCmdlet struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ScriptCmdletProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ScriptCmdletAudience ¶
type ScriptCmdletAudience string
const ( ScriptCmdletAudienceAny ScriptCmdletAudience = "Any" ScriptCmdletAudienceAutomation ScriptCmdletAudience = "Automation" )
func (*ScriptCmdletAudience) UnmarshalJSON ¶
func (s *ScriptCmdletAudience) UnmarshalJSON(bytes []byte) error
type ScriptCmdletId ¶
type ScriptCmdletId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string ScriptPackageName string ScriptCmdletName string }
ScriptCmdletId is a struct representing the Resource ID for a Script Cmdlet
func NewScriptCmdletID ¶
func NewScriptCmdletID(subscriptionId string, resourceGroupName string, privateCloudName string, scriptPackageName string, scriptCmdletName string) ScriptCmdletId
NewScriptCmdletID returns a new ScriptCmdletId struct
func ParseScriptCmdletID ¶
func ParseScriptCmdletID(input string) (*ScriptCmdletId, error)
ParseScriptCmdletID parses 'input' into a ScriptCmdletId
func ParseScriptCmdletIDInsensitively ¶
func ParseScriptCmdletIDInsensitively(input string) (*ScriptCmdletId, error)
ParseScriptCmdletIDInsensitively parses 'input' case-insensitively into a ScriptCmdletId note: this method should only be used for API response data and not user input
func (*ScriptCmdletId) FromParseResult ¶
func (id *ScriptCmdletId) FromParseResult(input resourceids.ParseResult) error
func (ScriptCmdletId) ID ¶
func (id ScriptCmdletId) ID() string
ID returns the formatted Script Cmdlet ID
func (ScriptCmdletId) Segments ¶
func (id ScriptCmdletId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Script Cmdlet ID
func (ScriptCmdletId) String ¶
func (id ScriptCmdletId) String() string
String returns a human-readable description of this Script Cmdlet ID
type ScriptCmdletOperationPredicate ¶
func (ScriptCmdletOperationPredicate) Matches ¶
func (p ScriptCmdletOperationPredicate) Matches(input ScriptCmdlet) bool
type ScriptCmdletProperties ¶
type ScriptCmdletProperties struct { Audience *ScriptCmdletAudience `json:"audience,omitempty"` Description *string `json:"description,omitempty"` Parameters *[]ScriptParameter `json:"parameters,omitempty"` ProvisioningState *ScriptCmdletProvisioningState `json:"provisioningState,omitempty"` Timeout *string `json:"timeout,omitempty"` }
type ScriptCmdletProvisioningState ¶
type ScriptCmdletProvisioningState string
const ( ScriptCmdletProvisioningStateCanceled ScriptCmdletProvisioningState = "Canceled" ScriptCmdletProvisioningStateFailed ScriptCmdletProvisioningState = "Failed" ScriptCmdletProvisioningStateSucceeded ScriptCmdletProvisioningState = "Succeeded" )
func (*ScriptCmdletProvisioningState) UnmarshalJSON ¶
func (s *ScriptCmdletProvisioningState) UnmarshalJSON(bytes []byte) error
type ScriptCmdletsClient ¶
type ScriptCmdletsClient struct {
Client *resourcemanager.Client
}
func NewScriptCmdletsClientWithBaseURI ¶
func NewScriptCmdletsClientWithBaseURI(sdkApi sdkEnv.Api) (*ScriptCmdletsClient, error)
func (ScriptCmdletsClient) Get ¶
func (c ScriptCmdletsClient) Get(ctx context.Context, id ScriptCmdletId) (result GetOperationResponse, err error)
Get ...
func (ScriptCmdletsClient) List ¶
func (c ScriptCmdletsClient) List(ctx context.Context, id ScriptPackageId) (result ListOperationResponse, err error)
List ...
func (ScriptCmdletsClient) ListComplete ¶
func (c ScriptCmdletsClient) ListComplete(ctx context.Context, id ScriptPackageId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ScriptCmdletsClient) ListCompleteMatchingPredicate ¶
func (c ScriptCmdletsClient) ListCompleteMatchingPredicate(ctx context.Context, id ScriptPackageId, predicate ScriptCmdletOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ScriptPackageId ¶
type ScriptPackageId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string ScriptPackageName string }
ScriptPackageId is a struct representing the Resource ID for a Script Package
func NewScriptPackageID ¶
func NewScriptPackageID(subscriptionId string, resourceGroupName string, privateCloudName string, scriptPackageName string) ScriptPackageId
NewScriptPackageID returns a new ScriptPackageId struct
func ParseScriptPackageID ¶
func ParseScriptPackageID(input string) (*ScriptPackageId, error)
ParseScriptPackageID parses 'input' into a ScriptPackageId
func ParseScriptPackageIDInsensitively ¶
func ParseScriptPackageIDInsensitively(input string) (*ScriptPackageId, error)
ParseScriptPackageIDInsensitively parses 'input' case-insensitively into a ScriptPackageId note: this method should only be used for API response data and not user input
func (*ScriptPackageId) FromParseResult ¶
func (id *ScriptPackageId) FromParseResult(input resourceids.ParseResult) error
func (ScriptPackageId) ID ¶
func (id ScriptPackageId) ID() string
ID returns the formatted Script Package ID
func (ScriptPackageId) Segments ¶
func (id ScriptPackageId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Script Package ID
func (ScriptPackageId) String ¶
func (id ScriptPackageId) String() string
String returns a human-readable description of this Script Package ID
type ScriptParameter ¶
type ScriptParameter struct { Description *string `json:"description,omitempty"` Name *string `json:"name,omitempty"` Optional *OptionalParamEnum `json:"optional,omitempty"` Type *ScriptParameterTypes `json:"type,omitempty"` Visibility *VisibilityParameterEnum `json:"visibility,omitempty"` }
type ScriptParameterTypes ¶
type ScriptParameterTypes string
const ( ScriptParameterTypesBool ScriptParameterTypes = "Bool" ScriptParameterTypesCredential ScriptParameterTypes = "Credential" ScriptParameterTypesFloat ScriptParameterTypes = "Float" ScriptParameterTypesInt ScriptParameterTypes = "Int" ScriptParameterTypesSecureString ScriptParameterTypes = "SecureString" ScriptParameterTypesString ScriptParameterTypes = "String" )
func (*ScriptParameterTypes) UnmarshalJSON ¶
func (s *ScriptParameterTypes) UnmarshalJSON(bytes []byte) error
type VisibilityParameterEnum ¶
type VisibilityParameterEnum string
const ( VisibilityParameterEnumHidden VisibilityParameterEnum = "Hidden" VisibilityParameterEnumVisible VisibilityParameterEnum = "Visible" )
func (*VisibilityParameterEnum) UnmarshalJSON ¶
func (s *VisibilityParameterEnum) UnmarshalJSON(bytes []byte) error