delete

package
v0.20240209.1120443 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateFileID

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

ValidateFileID checks that 'input' can be parsed as a File ID

func ValidateProjectID

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

ValidateProjectID checks that 'input' can be parsed as a Project ID

func ValidateServiceID

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

ValidateServiceID checks that 'input' can be parsed as a Service ID

func ValidateServiceTaskID

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

ValidateServiceTaskID checks that 'input' can be parsed as a Service Task ID

func ValidateTaskID

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

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

ProjectsDelete ...

func (DELETEClient) ServiceTasksDelete

ServiceTasksDelete ...

func (DELETEClient) ServicesDelete

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

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

func ParseFileID(input string) (*FileId, error)

ParseFileID parses 'input' into a FileId

func ParseFileIDInsensitively

func ParseFileIDInsensitively(input string) (*FileId, error)

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) FromParseResult

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

func (FileId) ID

func (id FileId) ID() string

ID returns the formatted File ID

func (FileId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this File ID

func (FileId) String

func (id FileId) String() string

String returns a human-readable description of this File ID

type FilesDeleteOperationResponse

type FilesDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

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

func ParseProjectID(input string) (*ProjectId, error)

ParseProjectID parses 'input' into a ProjectId

func ParseProjectIDInsensitively

func ParseProjectIDInsensitively(input string) (*ProjectId, error)

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) FromParseResult

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

func (ProjectId) ID

func (id ProjectId) ID() string

ID returns the formatted Project ID

func (ProjectId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Project ID

func (ProjectId) String

func (id ProjectId) String() string

String returns a human-readable description of this Project ID

type ProjectsDeleteOperationOptions

type ProjectsDeleteOperationOptions struct {
	DeleteRunningTasks *bool
}

func DefaultProjectsDeleteOperationOptions

func DefaultProjectsDeleteOperationOptions() ProjectsDeleteOperationOptions

func (ProjectsDeleteOperationOptions) ToHeaders

func (ProjectsDeleteOperationOptions) ToOData

func (ProjectsDeleteOperationOptions) ToQuery

type ProjectsDeleteOperationResponse

type ProjectsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServiceId

type ServiceId struct {
	SubscriptionId    string
	ResourceGroupName string
	ServiceName       string
}

ServiceId is a struct representing the Resource ID for a Service

func NewServiceID

func NewServiceID(subscriptionId string, resourceGroupName string, serviceName string) ServiceId

NewServiceID returns a new ServiceId struct

func ParseServiceID

func ParseServiceID(input string) (*ServiceId, error)

ParseServiceID parses 'input' into a ServiceId

func ParseServiceIDInsensitively

func ParseServiceIDInsensitively(input string) (*ServiceId, error)

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) FromParseResult

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

func (ServiceId) ID

func (id ServiceId) ID() string

ID returns the formatted Service ID

func (ServiceId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Service ID

func (ServiceId) String

func (id ServiceId) String() string

String returns a human-readable description of 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) FromParseResult

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

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

func (ServiceTasksDeleteOperationOptions) ToOData

func (ServiceTasksDeleteOperationOptions) ToQuery

type ServiceTasksDeleteOperationResponse

type ServiceTasksDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type ServicesDeleteOperationOptions

type ServicesDeleteOperationOptions struct {
	DeleteRunningTasks *bool
}

func DefaultServicesDeleteOperationOptions

func DefaultServicesDeleteOperationOptions() ServicesDeleteOperationOptions

func (ServicesDeleteOperationOptions) ToHeaders

func (ServicesDeleteOperationOptions) ToOData

func (ServicesDeleteOperationOptions) ToQuery

type ServicesDeleteOperationResponse

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

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

func ParseTaskID(input string) (*TaskId, error)

ParseTaskID parses 'input' into a TaskId

func ParseTaskIDInsensitively

func ParseTaskIDInsensitively(input string) (*TaskId, error)

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) FromParseResult

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

func (TaskId) ID

func (id TaskId) ID() string

ID returns the formatted Task ID

func (TaskId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Task ID

func (TaskId) String

func (id TaskId) String() string

String returns a human-readable description of this Task ID

type TasksDeleteOperationOptions

type TasksDeleteOperationOptions struct {
	DeleteRunningTasks *bool
}

func DefaultTasksDeleteOperationOptions

func DefaultTasksDeleteOperationOptions() TasksDeleteOperationOptions

func (TasksDeleteOperationOptions) ToHeaders

func (TasksDeleteOperationOptions) ToOData

func (TasksDeleteOperationOptions) ToQuery

type TasksDeleteOperationResponse

type TasksDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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