Documentation ¶
Index ¶
- func ValidateFileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceTaskID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTaskID(input interface{}, key string) (warnings []string, errors []error)
- type DELETEClient
- func (c DELETEClient) FilesDelete(ctx context.Context, id FileId) (result FilesDeleteOperationResponse, err error)
- func (c DELETEClient) ProjectsDelete(ctx context.Context, id ProjectId, options ProjectsDeleteOperationOptions) (result ProjectsDeleteOperationResponse, err error)
- func (c DELETEClient) ServiceTasksDelete(ctx context.Context, id ServiceTaskId, ...) (result ServiceTasksDeleteOperationResponse, err error)
- func (c DELETEClient) ServicesDelete(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) (result ServicesDeleteOperationResponse, err error)
- func (c DELETEClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) error
- func (c DELETEClient) TasksDelete(ctx context.Context, id TaskId, options TasksDeleteOperationOptions) (result TasksDeleteOperationResponse, err error)
- type FileId
- type FilesDeleteOperationResponse
- type ProjectId
- type ProjectsDeleteOperationOptions
- type ProjectsDeleteOperationResponse
- type ServiceId
- type ServiceTaskId
- type ServiceTasksDeleteOperationOptions
- type ServiceTasksDeleteOperationResponse
- type ServicesDeleteOperationOptions
- type ServicesDeleteOperationResponse
- type TaskId
- type TasksDeleteOperationOptions
- type TasksDeleteOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFileID ¶
ValidateFileID checks that 'input' can be parsed as a File ID
func ValidateProjectID ¶
ValidateProjectID checks that 'input' can be parsed as a Project ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateServiceTaskID ¶
ValidateServiceTaskID checks that 'input' can be parsed as a Service Task ID
func ValidateTaskID ¶
ValidateTaskID checks that 'input' can be parsed as a Task ID
Types ¶
type DELETEClient ¶
type DELETEClient struct {
Client *resourcemanager.Client
}
func NewDELETEClientWithBaseURI ¶
func NewDELETEClientWithBaseURI(sdkApi sdkEnv.Api) (*DELETEClient, error)
func (DELETEClient) FilesDelete ¶
func (c DELETEClient) FilesDelete(ctx context.Context, id FileId) (result FilesDeleteOperationResponse, err error)
FilesDelete ...
func (DELETEClient) ProjectsDelete ¶
func (c DELETEClient) ProjectsDelete(ctx context.Context, id ProjectId, options ProjectsDeleteOperationOptions) (result ProjectsDeleteOperationResponse, err error)
ProjectsDelete ...
func (DELETEClient) ServiceTasksDelete ¶
func (c DELETEClient) ServiceTasksDelete(ctx context.Context, id ServiceTaskId, options ServiceTasksDeleteOperationOptions) (result ServiceTasksDeleteOperationResponse, err error)
ServiceTasksDelete ...
func (DELETEClient) ServicesDelete ¶
func (c DELETEClient) ServicesDelete(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) (result ServicesDeleteOperationResponse, err error)
ServicesDelete ...
func (DELETEClient) ServicesDeleteThenPoll ¶
func (c DELETEClient) ServicesDeleteThenPoll(ctx context.Context, id ServiceId, options ServicesDeleteOperationOptions) error
ServicesDeleteThenPoll performs ServicesDelete then polls until it's completed
func (DELETEClient) TasksDelete ¶
func (c DELETEClient) TasksDelete(ctx context.Context, id TaskId, options TasksDeleteOperationOptions) (result TasksDeleteOperationResponse, err error)
TasksDelete ...
type FileId ¶
type FileId struct { SubscriptionId string ResourceGroupName string ServiceName string ProjectName string FileName string }
FileId is a struct representing the Resource ID for a File
func NewFileID ¶
func NewFileID(subscriptionId string, resourceGroupName string, serviceName string, projectName string, fileName string) FileId
NewFileID returns a new FileId struct
func ParseFileID ¶
ParseFileID parses 'input' into a FileId
func ParseFileIDInsensitively ¶
ParseFileIDInsensitively parses 'input' case-insensitively into a FileId note: this method should only be used for API response data and not user input
func (FileId) Segments ¶
func (id FileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this File ID
type ProjectId ¶
type ProjectId struct { SubscriptionId string ResourceGroupName string ServiceName string ProjectName string }
ProjectId is a struct representing the Resource ID for a Project
func NewProjectID ¶
func NewProjectID(subscriptionId string, resourceGroupName string, serviceName string, projectName string) ProjectId
NewProjectID returns a new ProjectId struct
func ParseProjectID ¶
ParseProjectID parses 'input' into a ProjectId
func ParseProjectIDInsensitively ¶
ParseProjectIDInsensitively parses 'input' case-insensitively into a ProjectId note: this method should only be used for API response data and not user input
func (ProjectId) Segments ¶
func (id ProjectId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Project ID
type ProjectsDeleteOperationOptions ¶
type ProjectsDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultProjectsDeleteOperationOptions ¶
func DefaultProjectsDeleteOperationOptions() ProjectsDeleteOperationOptions
func (ProjectsDeleteOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o ProjectsDeleteOperationOptions) ToHeaders() *client.Headers
func (ProjectsDeleteOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o ProjectsDeleteOperationOptions) ToOData() *odata.Query
func (ProjectsDeleteOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o ProjectsDeleteOperationOptions) ToQuery() *client.QueryParams
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type ServiceTaskId ¶
type ServiceTaskId struct { SubscriptionId string ResourceGroupName string ServiceName string ServiceTaskName string }
ServiceTaskId is a struct representing the Resource ID for a Service Task
func NewServiceTaskID ¶
func NewServiceTaskID(subscriptionId string, resourceGroupName string, serviceName string, serviceTaskName string) ServiceTaskId
NewServiceTaskID returns a new ServiceTaskId struct
func ParseServiceTaskID ¶
func ParseServiceTaskID(input string) (*ServiceTaskId, error)
ParseServiceTaskID parses 'input' into a ServiceTaskId
func ParseServiceTaskIDInsensitively ¶
func ParseServiceTaskIDInsensitively(input string) (*ServiceTaskId, error)
ParseServiceTaskIDInsensitively parses 'input' case-insensitively into a ServiceTaskId note: this method should only be used for API response data and not user input
func (ServiceTaskId) ID ¶
func (id ServiceTaskId) ID() string
ID returns the formatted Service Task ID
func (ServiceTaskId) Segments ¶
func (id ServiceTaskId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service Task ID
func (ServiceTaskId) String ¶
func (id ServiceTaskId) String() string
String returns a human-readable description of this Service Task ID
type ServiceTasksDeleteOperationOptions ¶
type ServiceTasksDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultServiceTasksDeleteOperationOptions ¶
func DefaultServiceTasksDeleteOperationOptions() ServiceTasksDeleteOperationOptions
func (ServiceTasksDeleteOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o ServiceTasksDeleteOperationOptions) ToHeaders() *client.Headers
func (ServiceTasksDeleteOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o ServiceTasksDeleteOperationOptions) ToOData() *odata.Query
func (ServiceTasksDeleteOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o ServiceTasksDeleteOperationOptions) ToQuery() *client.QueryParams
type ServicesDeleteOperationOptions ¶
type ServicesDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultServicesDeleteOperationOptions ¶
func DefaultServicesDeleteOperationOptions() ServicesDeleteOperationOptions
func (ServicesDeleteOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o ServicesDeleteOperationOptions) ToHeaders() *client.Headers
func (ServicesDeleteOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o ServicesDeleteOperationOptions) ToOData() *odata.Query
func (ServicesDeleteOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o ServicesDeleteOperationOptions) ToQuery() *client.QueryParams
type TaskId ¶
type TaskId struct { SubscriptionId string ResourceGroupName string ServiceName string ProjectName string TaskName string }
TaskId is a struct representing the Resource ID for a Task
func NewTaskID ¶
func NewTaskID(subscriptionId string, resourceGroupName string, serviceName string, projectName string, taskName string) TaskId
NewTaskID returns a new TaskId struct
func ParseTaskID ¶
ParseTaskID parses 'input' into a TaskId
func ParseTaskIDInsensitively ¶
ParseTaskIDInsensitively parses 'input' case-insensitively into a TaskId note: this method should only be used for API response data and not user input
func (TaskId) Segments ¶
func (id TaskId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Task ID
type TasksDeleteOperationOptions ¶
type TasksDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultTasksDeleteOperationOptions ¶
func DefaultTasksDeleteOperationOptions() TasksDeleteOperationOptions
func (TasksDeleteOperationOptions) ToHeaders ¶ added in v0.20230712.1163130
func (o TasksDeleteOperationOptions) ToHeaders() *client.Headers
func (TasksDeleteOperationOptions) ToOData ¶ added in v0.20230712.1163130
func (o TasksDeleteOperationOptions) ToOData() *odata.Query
func (TasksDeleteOperationOptions) ToQuery ¶ added in v0.20230712.1163130
func (o TasksDeleteOperationOptions) ToQuery() *client.QueryParams