Documentation ¶
Index ¶
- func ValidateProjectID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTaskID(input interface{}, key string) (warnings []string, errors []error)
- type DELETEClient
- func (c DELETEClient) ProjectsDelete(ctx context.Context, id ProjectId, options ProjectsDeleteOperationOptions) (result ProjectsDeleteOperationResponse, 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 ProjectId
- type ProjectsDeleteOperationOptions
- type ProjectsDeleteOperationResponse
- type ServiceId
- type ServicesDeleteOperationOptions
- type ServicesDeleteOperationResponse
- type TaskId
- type TasksDeleteOperationOptions
- type TasksDeleteOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 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) ProjectsDelete ¶
func (c DELETEClient) ProjectsDelete(ctx context.Context, id ProjectId, options ProjectsDeleteOperationOptions) (result ProjectsDeleteOperationResponse, err error)
ProjectsDelete ...
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 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) FromParseResult ¶
func (id *ProjectId) FromParseResult(input resourceids.ParseResult) error
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 ¶
func (o ProjectsDeleteOperationOptions) ToHeaders() *client.Headers
func (ProjectsDeleteOperationOptions) ToOData ¶
func (o ProjectsDeleteOperationOptions) ToOData() *odata.Query
func (ProjectsDeleteOperationOptions) ToQuery ¶
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) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type ServicesDeleteOperationOptions ¶
type ServicesDeleteOperationOptions struct {
DeleteRunningTasks *bool
}
func DefaultServicesDeleteOperationOptions ¶
func DefaultServicesDeleteOperationOptions() ServicesDeleteOperationOptions
func (ServicesDeleteOperationOptions) ToHeaders ¶
func (o ServicesDeleteOperationOptions) ToHeaders() *client.Headers
func (ServicesDeleteOperationOptions) ToOData ¶
func (o ServicesDeleteOperationOptions) ToOData() *odata.Query
func (ServicesDeleteOperationOptions) ToQuery ¶
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) FromParseResult ¶
func (id *TaskId) FromParseResult(input resourceids.ParseResult) error
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 ¶
func (o TasksDeleteOperationOptions) ToHeaders() *client.Headers
func (TasksDeleteOperationOptions) ToOData ¶
func (o TasksDeleteOperationOptions) ToOData() *odata.Query
func (TasksDeleteOperationOptions) ToQuery ¶
func (o TasksDeleteOperationOptions) ToQuery() *client.QueryParams