scripts

package
v0.20240119.1092300 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: MPL-2.0 Imports: 13 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/vmware/2022-05-01/scripts Documentation

The scripts SDK allows for interaction with the Azure Resource Manager Service vmware (API Version 2022-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/vmware/2022-05-01/scripts"

Client Initialization

client := scripts.NewScriptsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ScriptsClient.ScriptCmdletsGet

ctx := context.TODO()
id := scripts.NewScriptCmdletID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue", "scriptPackageValue", "scriptCmdletValue")

read, err := client.ScriptCmdletsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ScriptsClient.ScriptCmdletsList

ctx := context.TODO()
id := scripts.NewScriptPackageID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue", "scriptPackageValue")

// alternatively `client.ScriptCmdletsList(ctx, id)` can be used to do batched pagination
items, err := client.ScriptCmdletsListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ScriptsClient.ScriptExecutionsCreateOrUpdate

ctx := context.TODO()
id := scripts.NewScriptExecutionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue", "scriptExecutionValue")

payload := scripts.ScriptExecution{
	// ...
}


if err := client.ScriptExecutionsCreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ScriptsClient.ScriptExecutionsDelete

ctx := context.TODO()
id := scripts.NewScriptExecutionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue", "scriptExecutionValue")

if err := client.ScriptExecutionsDeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ScriptsClient.ScriptExecutionsGet

ctx := context.TODO()
id := scripts.NewScriptExecutionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue", "scriptExecutionValue")

read, err := client.ScriptExecutionsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ScriptsClient.ScriptExecutionsGetExecutionLogs

ctx := context.TODO()
id := scripts.NewScriptExecutionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue", "scriptExecutionValue")
var payload []ScriptOutputStreamType

read, err := client.ScriptExecutionsGetExecutionLogs(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ScriptsClient.ScriptExecutionsList

ctx := context.TODO()
id := scripts.NewPrivateCloudID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue")

// alternatively `client.ScriptExecutionsList(ctx, id)` can be used to do batched pagination
items, err := client.ScriptExecutionsListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ScriptsClient.ScriptPackagesGet

ctx := context.TODO()
id := scripts.NewScriptPackageID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue", "scriptPackageValue")

read, err := client.ScriptPackagesGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ScriptsClient.ScriptPackagesList

ctx := context.TODO()
id := scripts.NewPrivateCloudID("12345678-1234-9876-4563-123456789012", "example-resource-group", "privateCloudValue")

// alternatively `client.ScriptPackagesList(ctx, id)` can be used to do batched pagination
items, err := client.ScriptPackagesListComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForOptionalParamEnum

func PossibleValuesForOptionalParamEnum() []string

func PossibleValuesForScriptExecutionParameterType

func PossibleValuesForScriptExecutionParameterType() []string

func PossibleValuesForScriptExecutionProvisioningState

func PossibleValuesForScriptExecutionProvisioningState() []string

func PossibleValuesForScriptOutputStreamType

func PossibleValuesForScriptOutputStreamType() []string

func PossibleValuesForScriptParameterTypes

func PossibleValuesForScriptParameterTypes() []string

func PossibleValuesForVisibilityParameterEnum

func PossibleValuesForVisibilityParameterEnum() []string

func ValidatePrivateCloudID

func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)

ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID

func ValidateScriptCmdletID

func ValidateScriptCmdletID(input interface{}, key string) (warnings []string, errors []error)

ValidateScriptCmdletID checks that 'input' can be parsed as a Script Cmdlet ID

func ValidateScriptExecutionID

func ValidateScriptExecutionID(input interface{}, key string) (warnings []string, errors []error)

ValidateScriptExecutionID checks that 'input' can be parsed as a Script Execution ID

func ValidateScriptPackageID

func ValidateScriptPackageID(input interface{}, key string) (warnings []string, errors []error)

ValidateScriptPackageID checks that 'input' can be parsed as a Script Package ID

Types

type OptionalParamEnum

type OptionalParamEnum string
const (
	OptionalParamEnumOptional OptionalParamEnum = "Optional"
	OptionalParamEnumRequired OptionalParamEnum = "Required"
)

func (*OptionalParamEnum) UnmarshalJSON added in v0.20230720.1124505

func (s *OptionalParamEnum) UnmarshalJSON(bytes []byte) error

type PSCredentialExecutionParameter

type PSCredentialExecutionParameter struct {
	Password *string `json:"password,omitempty"`
	Username *string `json:"username,omitempty"`

	// Fields inherited from ScriptExecutionParameter
	Name string `json:"name"`
}

func (PSCredentialExecutionParameter) MarshalJSON

func (s PSCredentialExecutionParameter) MarshalJSON() ([]byte, error)

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 added in v0.20231127.1171502

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 RawScriptExecutionParameterImpl added in v0.20230807.1063129

type RawScriptExecutionParameterImpl struct {
	Type   string
	Values map[string]interface{}
}

RawScriptExecutionParameterImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type ScriptCmdlet

type ScriptCmdlet struct {
	Id         *string                 `json:"id,omitempty"`
	Name       *string                 `json:"name,omitempty"`
	Properties *ScriptCmdletProperties `json:"properties,omitempty"`
	Type       *string                 `json:"type,omitempty"`
}

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 added in v0.20231127.1171502

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

type ScriptCmdletOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (ScriptCmdletOperationPredicate) Matches

type ScriptCmdletProperties

type ScriptCmdletProperties struct {
	Description *string            `json:"description,omitempty"`
	Parameters  *[]ScriptParameter `json:"parameters,omitempty"`
	Timeout     *string            `json:"timeout,omitempty"`
}

type ScriptCmdletsGetOperationResponse

type ScriptCmdletsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ScriptCmdlet
}

type ScriptCmdletsListCompleteResult

type ScriptCmdletsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ScriptCmdlet
}

type ScriptCmdletsListOperationResponse

type ScriptCmdletsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ScriptCmdlet
}

type ScriptExecution

type ScriptExecution struct {
	Id         *string                    `json:"id,omitempty"`
	Name       *string                    `json:"name,omitempty"`
	Properties *ScriptExecutionProperties `json:"properties,omitempty"`
	Type       *string                    `json:"type,omitempty"`
}

type ScriptExecutionId

type ScriptExecutionId struct {
	SubscriptionId      string
	ResourceGroupName   string
	PrivateCloudName    string
	ScriptExecutionName string
}

ScriptExecutionId is a struct representing the Resource ID for a Script Execution

func NewScriptExecutionID

func NewScriptExecutionID(subscriptionId string, resourceGroupName string, privateCloudName string, scriptExecutionName string) ScriptExecutionId

NewScriptExecutionID returns a new ScriptExecutionId struct

func ParseScriptExecutionID

func ParseScriptExecutionID(input string) (*ScriptExecutionId, error)

ParseScriptExecutionID parses 'input' into a ScriptExecutionId

func ParseScriptExecutionIDInsensitively

func ParseScriptExecutionIDInsensitively(input string) (*ScriptExecutionId, error)

ParseScriptExecutionIDInsensitively parses 'input' case-insensitively into a ScriptExecutionId note: this method should only be used for API response data and not user input

func (*ScriptExecutionId) FromParseResult added in v0.20231127.1171502

func (id *ScriptExecutionId) FromParseResult(input resourceids.ParseResult) error

func (ScriptExecutionId) ID

func (id ScriptExecutionId) ID() string

ID returns the formatted Script Execution ID

func (ScriptExecutionId) Segments

func (id ScriptExecutionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Script Execution ID

func (ScriptExecutionId) String

func (id ScriptExecutionId) String() string

String returns a human-readable description of this Script Execution ID

type ScriptExecutionOperationPredicate

type ScriptExecutionOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (ScriptExecutionOperationPredicate) Matches

type ScriptExecutionParameter

type ScriptExecutionParameter interface {
}

type ScriptExecutionParameterType

type ScriptExecutionParameterType string
const (
	ScriptExecutionParameterTypeCredential  ScriptExecutionParameterType = "Credential"
	ScriptExecutionParameterTypeSecureValue ScriptExecutionParameterType = "SecureValue"
	ScriptExecutionParameterTypeValue       ScriptExecutionParameterType = "Value"
)

func (*ScriptExecutionParameterType) UnmarshalJSON added in v0.20230720.1124505

func (s *ScriptExecutionParameterType) UnmarshalJSON(bytes []byte) error

type ScriptExecutionProperties

type ScriptExecutionProperties struct {
	Errors            *[]string                         `json:"errors,omitempty"`
	FailureReason     *string                           `json:"failureReason,omitempty"`
	FinishedAt        *string                           `json:"finishedAt,omitempty"`
	HiddenParameters  *[]ScriptExecutionParameter       `json:"hiddenParameters,omitempty"`
	Information       *[]string                         `json:"information,omitempty"`
	NamedOutputs      *map[string]interface{}           `json:"namedOutputs,omitempty"`
	Output            *[]string                         `json:"output,omitempty"`
	Parameters        *[]ScriptExecutionParameter       `json:"parameters,omitempty"`
	ProvisioningState *ScriptExecutionProvisioningState `json:"provisioningState,omitempty"`
	Retention         *string                           `json:"retention,omitempty"`
	ScriptCmdletId    *string                           `json:"scriptCmdletId,omitempty"`
	StartedAt         *string                           `json:"startedAt,omitempty"`
	SubmittedAt       *string                           `json:"submittedAt,omitempty"`
	Timeout           string                            `json:"timeout"`
	Warnings          *[]string                         `json:"warnings,omitempty"`
}

func (*ScriptExecutionProperties) GetFinishedAtAsTime

func (o *ScriptExecutionProperties) GetFinishedAtAsTime() (*time.Time, error)

func (*ScriptExecutionProperties) GetStartedAtAsTime

func (o *ScriptExecutionProperties) GetStartedAtAsTime() (*time.Time, error)

func (*ScriptExecutionProperties) GetSubmittedAtAsTime

func (o *ScriptExecutionProperties) GetSubmittedAtAsTime() (*time.Time, error)

func (*ScriptExecutionProperties) SetFinishedAtAsTime

func (o *ScriptExecutionProperties) SetFinishedAtAsTime(input time.Time)

func (*ScriptExecutionProperties) SetStartedAtAsTime

func (o *ScriptExecutionProperties) SetStartedAtAsTime(input time.Time)

func (*ScriptExecutionProperties) SetSubmittedAtAsTime

func (o *ScriptExecutionProperties) SetSubmittedAtAsTime(input time.Time)

func (*ScriptExecutionProperties) UnmarshalJSON

func (s *ScriptExecutionProperties) UnmarshalJSON(bytes []byte) error

type ScriptExecutionProvisioningState

type ScriptExecutionProvisioningState string
const (
	ScriptExecutionProvisioningStateCanceled   ScriptExecutionProvisioningState = "Canceled"
	ScriptExecutionProvisioningStateCancelled  ScriptExecutionProvisioningState = "Cancelled"
	ScriptExecutionProvisioningStateCancelling ScriptExecutionProvisioningState = "Cancelling"
	ScriptExecutionProvisioningStateDeleting   ScriptExecutionProvisioningState = "Deleting"
	ScriptExecutionProvisioningStateFailed     ScriptExecutionProvisioningState = "Failed"
	ScriptExecutionProvisioningStatePending    ScriptExecutionProvisioningState = "Pending"
	ScriptExecutionProvisioningStateRunning    ScriptExecutionProvisioningState = "Running"
	ScriptExecutionProvisioningStateSucceeded  ScriptExecutionProvisioningState = "Succeeded"
)

func (*ScriptExecutionProvisioningState) UnmarshalJSON added in v0.20230720.1124505

func (s *ScriptExecutionProvisioningState) UnmarshalJSON(bytes []byte) error

type ScriptExecutionsCreateOrUpdateOperationResponse

type ScriptExecutionsCreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ScriptExecutionsDeleteOperationResponse

type ScriptExecutionsDeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type ScriptExecutionsGetExecutionLogsOperationResponse

type ScriptExecutionsGetExecutionLogsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ScriptExecution
}

type ScriptExecutionsGetOperationResponse

type ScriptExecutionsGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ScriptExecution
}

type ScriptExecutionsListCompleteResult

type ScriptExecutionsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ScriptExecution
}

type ScriptExecutionsListOperationResponse

type ScriptExecutionsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ScriptExecution
}

type ScriptOutputStreamType

type ScriptOutputStreamType string
const (
	ScriptOutputStreamTypeError       ScriptOutputStreamType = "Error"
	ScriptOutputStreamTypeInformation ScriptOutputStreamType = "Information"
	ScriptOutputStreamTypeOutput      ScriptOutputStreamType = "Output"
	ScriptOutputStreamTypeWarning     ScriptOutputStreamType = "Warning"
)

func (*ScriptOutputStreamType) UnmarshalJSON added in v0.20230720.1124505

func (s *ScriptOutputStreamType) UnmarshalJSON(bytes []byte) error

type ScriptPackage

type ScriptPackage struct {
	Id         *string                  `json:"id,omitempty"`
	Name       *string                  `json:"name,omitempty"`
	Properties *ScriptPackageProperties `json:"properties,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 added in v0.20231127.1171502

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

type ScriptPackageOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (ScriptPackageOperationPredicate) Matches

type ScriptPackageProperties

type ScriptPackageProperties struct {
	Company     *string `json:"company,omitempty"`
	Description *string `json:"description,omitempty"`
	Uri         *string `json:"uri,omitempty"`
	Version     *string `json:"version,omitempty"`
}

type ScriptPackagesGetOperationResponse

type ScriptPackagesGetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ScriptPackage
}

type ScriptPackagesListCompleteResult

type ScriptPackagesListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ScriptPackage
}

type ScriptPackagesListOperationResponse

type ScriptPackagesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ScriptPackage
}

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 added in v0.20230720.1124505

func (s *ScriptParameterTypes) UnmarshalJSON(bytes []byte) error

type ScriptSecureStringExecutionParameter

type ScriptSecureStringExecutionParameter struct {
	SecureValue *string `json:"secureValue,omitempty"`

	// Fields inherited from ScriptExecutionParameter
	Name string `json:"name"`
}

func (ScriptSecureStringExecutionParameter) MarshalJSON

func (s ScriptSecureStringExecutionParameter) MarshalJSON() ([]byte, error)

type ScriptStringExecutionParameter

type ScriptStringExecutionParameter struct {
	Value *string `json:"value,omitempty"`

	// Fields inherited from ScriptExecutionParameter
	Name string `json:"name"`
}

func (ScriptStringExecutionParameter) MarshalJSON

func (s ScriptStringExecutionParameter) MarshalJSON() ([]byte, error)

type ScriptsClient

type ScriptsClient struct {
	Client *resourcemanager.Client
}

func NewScriptsClientWithBaseURI

func NewScriptsClientWithBaseURI(sdkApi sdkEnv.Api) (*ScriptsClient, error)

func (ScriptsClient) ScriptCmdletsGet

func (c ScriptsClient) ScriptCmdletsGet(ctx context.Context, id ScriptCmdletId) (result ScriptCmdletsGetOperationResponse, err error)

ScriptCmdletsGet ...

func (ScriptsClient) ScriptCmdletsList

func (c ScriptsClient) ScriptCmdletsList(ctx context.Context, id ScriptPackageId) (result ScriptCmdletsListOperationResponse, err error)

ScriptCmdletsList ...

func (ScriptsClient) ScriptCmdletsListComplete

func (c ScriptsClient) ScriptCmdletsListComplete(ctx context.Context, id ScriptPackageId) (ScriptCmdletsListCompleteResult, error)

ScriptCmdletsListComplete retrieves all the results into a single object

func (ScriptsClient) ScriptCmdletsListCompleteMatchingPredicate

func (c ScriptsClient) ScriptCmdletsListCompleteMatchingPredicate(ctx context.Context, id ScriptPackageId, predicate ScriptCmdletOperationPredicate) (result ScriptCmdletsListCompleteResult, err error)

ScriptCmdletsListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ScriptsClient) ScriptExecutionsCreateOrUpdate

func (c ScriptsClient) ScriptExecutionsCreateOrUpdate(ctx context.Context, id ScriptExecutionId, input ScriptExecution) (result ScriptExecutionsCreateOrUpdateOperationResponse, err error)

ScriptExecutionsCreateOrUpdate ...

func (ScriptsClient) ScriptExecutionsCreateOrUpdateThenPoll

func (c ScriptsClient) ScriptExecutionsCreateOrUpdateThenPoll(ctx context.Context, id ScriptExecutionId, input ScriptExecution) error

ScriptExecutionsCreateOrUpdateThenPoll performs ScriptExecutionsCreateOrUpdate then polls until it's completed

func (ScriptsClient) ScriptExecutionsDelete

func (c ScriptsClient) ScriptExecutionsDelete(ctx context.Context, id ScriptExecutionId) (result ScriptExecutionsDeleteOperationResponse, err error)

ScriptExecutionsDelete ...

func (ScriptsClient) ScriptExecutionsDeleteThenPoll

func (c ScriptsClient) ScriptExecutionsDeleteThenPoll(ctx context.Context, id ScriptExecutionId) error

ScriptExecutionsDeleteThenPoll performs ScriptExecutionsDelete then polls until it's completed

func (ScriptsClient) ScriptExecutionsGet

func (c ScriptsClient) ScriptExecutionsGet(ctx context.Context, id ScriptExecutionId) (result ScriptExecutionsGetOperationResponse, err error)

ScriptExecutionsGet ...

func (ScriptsClient) ScriptExecutionsGetExecutionLogs

func (c ScriptsClient) ScriptExecutionsGetExecutionLogs(ctx context.Context, id ScriptExecutionId, input []ScriptOutputStreamType) (result ScriptExecutionsGetExecutionLogsOperationResponse, err error)

ScriptExecutionsGetExecutionLogs ...

func (ScriptsClient) ScriptExecutionsList

func (c ScriptsClient) ScriptExecutionsList(ctx context.Context, id PrivateCloudId) (result ScriptExecutionsListOperationResponse, err error)

ScriptExecutionsList ...

func (ScriptsClient) ScriptExecutionsListComplete

func (c ScriptsClient) ScriptExecutionsListComplete(ctx context.Context, id PrivateCloudId) (ScriptExecutionsListCompleteResult, error)

ScriptExecutionsListComplete retrieves all the results into a single object

func (ScriptsClient) ScriptExecutionsListCompleteMatchingPredicate

func (c ScriptsClient) ScriptExecutionsListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate ScriptExecutionOperationPredicate) (result ScriptExecutionsListCompleteResult, err error)

ScriptExecutionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ScriptsClient) ScriptPackagesGet

func (c ScriptsClient) ScriptPackagesGet(ctx context.Context, id ScriptPackageId) (result ScriptPackagesGetOperationResponse, err error)

ScriptPackagesGet ...

func (ScriptsClient) ScriptPackagesList

func (c ScriptsClient) ScriptPackagesList(ctx context.Context, id PrivateCloudId) (result ScriptPackagesListOperationResponse, err error)

ScriptPackagesList ...

func (ScriptsClient) ScriptPackagesListComplete

func (c ScriptsClient) ScriptPackagesListComplete(ctx context.Context, id PrivateCloudId) (ScriptPackagesListCompleteResult, error)

ScriptPackagesListComplete retrieves all the results into a single object

func (ScriptsClient) ScriptPackagesListCompleteMatchingPredicate

func (c ScriptsClient) ScriptPackagesListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate ScriptPackageOperationPredicate) (result ScriptPackagesListCompleteResult, err error)

ScriptPackagesListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type VisibilityParameterEnum

type VisibilityParameterEnum string
const (
	VisibilityParameterEnumHidden  VisibilityParameterEnum = "Hidden"
	VisibilityParameterEnumVisible VisibilityParameterEnum = "Visible"
)

func (*VisibilityParameterEnum) UnmarshalJSON added in v0.20230720.1124505

func (s *VisibilityParameterEnum) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL