Documentation ¶
Index ¶
- func PossibleValuesForScriptPackageProvisioningState() []string
- func ValidatePrivateCloudID(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 PrivateCloudId
- type ScriptPackage
- type ScriptPackageId
- type ScriptPackageOperationPredicate
- type ScriptPackageProperties
- type ScriptPackageProvisioningState
- type ScriptPackagesClient
- func (c ScriptPackagesClient) Get(ctx context.Context, id ScriptPackageId) (result GetOperationResponse, err error)
- func (c ScriptPackagesClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
- func (c ScriptPackagesClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c ScriptPackagesClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (result ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForScriptPackageProvisioningState ¶
func PossibleValuesForScriptPackageProvisioningState() []string
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud 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 *ScriptPackage }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ScriptPackage }
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 *[]ScriptPackage }
type PrivateCloudId ¶
type PrivateCloudId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string }
PrivateCloudId is a struct representing the Resource ID for a Private Cloud
func NewPrivateCloudID ¶
func NewPrivateCloudID(subscriptionId string, resourceGroupName string, privateCloudName string) PrivateCloudId
NewPrivateCloudID returns a new PrivateCloudId struct
func ParsePrivateCloudID ¶
func ParsePrivateCloudID(input string) (*PrivateCloudId, error)
ParsePrivateCloudID parses 'input' into a PrivateCloudId
func ParsePrivateCloudIDInsensitively ¶
func ParsePrivateCloudIDInsensitively(input string) (*PrivateCloudId, error)
ParsePrivateCloudIDInsensitively parses 'input' case-insensitively into a PrivateCloudId note: this method should only be used for API response data and not user input
func (*PrivateCloudId) FromParseResult ¶
func (id *PrivateCloudId) FromParseResult(input resourceids.ParseResult) error
func (PrivateCloudId) ID ¶
func (id PrivateCloudId) ID() string
ID returns the formatted Private Cloud ID
func (PrivateCloudId) Segments ¶
func (id PrivateCloudId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Cloud ID
func (PrivateCloudId) String ¶
func (id PrivateCloudId) String() string
String returns a human-readable description of this Private Cloud ID
type ScriptPackage ¶
type ScriptPackage struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ScriptPackageProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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 ScriptPackageOperationPredicate ¶
func (ScriptPackageOperationPredicate) Matches ¶
func (p ScriptPackageOperationPredicate) Matches(input ScriptPackage) bool
type ScriptPackageProperties ¶
type ScriptPackageProperties struct { Company *string `json:"company,omitempty"` Description *string `json:"description,omitempty"` ProvisioningState *ScriptPackageProvisioningState `json:"provisioningState,omitempty"` Uri *string `json:"uri,omitempty"` Version *string `json:"version,omitempty"` }
type ScriptPackageProvisioningState ¶
type ScriptPackageProvisioningState string
const ( ScriptPackageProvisioningStateCanceled ScriptPackageProvisioningState = "Canceled" ScriptPackageProvisioningStateFailed ScriptPackageProvisioningState = "Failed" ScriptPackageProvisioningStateSucceeded ScriptPackageProvisioningState = "Succeeded" )
func (*ScriptPackageProvisioningState) UnmarshalJSON ¶
func (s *ScriptPackageProvisioningState) UnmarshalJSON(bytes []byte) error
type ScriptPackagesClient ¶
type ScriptPackagesClient struct {
Client *resourcemanager.Client
}
func NewScriptPackagesClientWithBaseURI ¶
func NewScriptPackagesClientWithBaseURI(sdkApi sdkEnv.Api) (*ScriptPackagesClient, error)
func (ScriptPackagesClient) Get ¶
func (c ScriptPackagesClient) Get(ctx context.Context, id ScriptPackageId) (result GetOperationResponse, err error)
Get ...
func (ScriptPackagesClient) List ¶
func (c ScriptPackagesClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
List ...
func (ScriptPackagesClient) ListComplete ¶
func (c ScriptPackagesClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ScriptPackagesClient) ListCompleteMatchingPredicate ¶
func (c ScriptPackagesClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate ScriptPackageOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate