resources

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client for resources API

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *Client

New creates a new resources API client.

func (*Client) ResourcesCheckExistence

ResourcesCheckExistence Checks whether a resource exists.

func (*Client) ResourcesCheckExistenceByID

ResourcesCheckExistenceByID Checks by ID whether a resource exists.

func (*Client) ResourcesCreateOrUpdate

ResourcesCreateOrUpdate Creates a resource.

func (*Client) ResourcesCreateOrUpdateByID

ResourcesCreateOrUpdateByID Create a resource by ID.

func (*Client) ResourcesDelete

ResourcesDelete Deletes a resource.

func (*Client) ResourcesDeleteByID

ResourcesDeleteByID Deletes a resource by ID.

func (*Client) ResourcesGet

func (a *Client) ResourcesGet(params *ResourcesGetParams, authInfo runtime.ClientAuthInfoWriter) (*ResourcesGetOK, error)

ResourcesGet Gets a resource.

func (*Client) ResourcesGetByID

func (a *Client) ResourcesGetByID(params *ResourcesGetByIDParams, authInfo runtime.ClientAuthInfoWriter) (*ResourcesGetByIDOK, error)

ResourcesGetByID Gets a resource by ID.

func (*Client) ResourcesList

func (a *Client) ResourcesList(params *ResourcesListParams, authInfo runtime.ClientAuthInfoWriter) (*ResourcesListOK, error)

ResourcesList Get all the resources in a subscription.

func (*Client) ResourcesMoveResources

ResourcesMoveResources moves resources from one resource group to another resource group

The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes.

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ResourcesCheckExistenceByIDNoContent

type ResourcesCheckExistenceByIDNoContent struct {
}

ResourcesCheckExistenceByIDNoContent handles this case with default header values.

No Content

func NewResourcesCheckExistenceByIDNoContent

func NewResourcesCheckExistenceByIDNoContent() *ResourcesCheckExistenceByIDNoContent

NewResourcesCheckExistenceByIDNoContent creates a ResourcesCheckExistenceByIDNoContent with default headers values

func (*ResourcesCheckExistenceByIDNoContent) Error

type ResourcesCheckExistenceByIDNotFound

type ResourcesCheckExistenceByIDNotFound struct {
}

ResourcesCheckExistenceByIDNotFound handles this case with default header values.

Not Found

func NewResourcesCheckExistenceByIDNotFound

func NewResourcesCheckExistenceByIDNotFound() *ResourcesCheckExistenceByIDNotFound

NewResourcesCheckExistenceByIDNotFound creates a ResourcesCheckExistenceByIDNotFound with default headers values

func (*ResourcesCheckExistenceByIDNotFound) Error

type ResourcesCheckExistenceByIDParams

type ResourcesCheckExistenceByIDParams struct {

	/*APIVersion
	  The API version to use for the operation.

	*/
	APIVersion string
	/*ResourceID
	  The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}

	*/
	ResourceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesCheckExistenceByIDParams contains all the parameters to send to the API endpoint for the resources check existence by Id operation typically these are written to a http.Request

func NewResourcesCheckExistenceByIDParams

func NewResourcesCheckExistenceByIDParams() *ResourcesCheckExistenceByIDParams

NewResourcesCheckExistenceByIDParams creates a new ResourcesCheckExistenceByIDParams object with the default values initialized.

func NewResourcesCheckExistenceByIDParamsWithContext

func NewResourcesCheckExistenceByIDParamsWithContext(ctx context.Context) *ResourcesCheckExistenceByIDParams

NewResourcesCheckExistenceByIDParamsWithContext creates a new ResourcesCheckExistenceByIDParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesCheckExistenceByIDParamsWithHTTPClient

func NewResourcesCheckExistenceByIDParamsWithHTTPClient(client *http.Client) *ResourcesCheckExistenceByIDParams

NewResourcesCheckExistenceByIDParamsWithHTTPClient creates a new ResourcesCheckExistenceByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesCheckExistenceByIDParamsWithTimeout

func NewResourcesCheckExistenceByIDParamsWithTimeout(timeout time.Duration) *ResourcesCheckExistenceByIDParams

NewResourcesCheckExistenceByIDParamsWithTimeout creates a new ResourcesCheckExistenceByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesCheckExistenceByIDParams) SetAPIVersion

func (o *ResourcesCheckExistenceByIDParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) SetContext

SetContext adds the context to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) SetHTTPClient

func (o *ResourcesCheckExistenceByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) SetResourceID

func (o *ResourcesCheckExistenceByIDParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) SetTimeout

func (o *ResourcesCheckExistenceByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) WithContext

WithContext adds the context to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) WithResourceID

WithResourceID adds the resourceID to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) WithTimeout

WithTimeout adds the timeout to the resources check existence by Id params

func (*ResourcesCheckExistenceByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResourcesCheckExistenceByIDReader

type ResourcesCheckExistenceByIDReader struct {
	// contains filtered or unexported fields
}

ResourcesCheckExistenceByIDReader is a Reader for the ResourcesCheckExistenceByID structure.

func (*ResourcesCheckExistenceByIDReader) ReadResponse

func (o *ResourcesCheckExistenceByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesCheckExistenceNoContent

type ResourcesCheckExistenceNoContent struct {
}

ResourcesCheckExistenceNoContent handles this case with default header values.

No Content

func NewResourcesCheckExistenceNoContent

func NewResourcesCheckExistenceNoContent() *ResourcesCheckExistenceNoContent

NewResourcesCheckExistenceNoContent creates a ResourcesCheckExistenceNoContent with default headers values

func (*ResourcesCheckExistenceNoContent) Error

type ResourcesCheckExistenceNotFound

type ResourcesCheckExistenceNotFound struct {
}

ResourcesCheckExistenceNotFound handles this case with default header values.

Not Found

func NewResourcesCheckExistenceNotFound

func NewResourcesCheckExistenceNotFound() *ResourcesCheckExistenceNotFound

NewResourcesCheckExistenceNotFound creates a ResourcesCheckExistenceNotFound with default headers values

func (*ResourcesCheckExistenceNotFound) Error

type ResourcesCheckExistenceParams

type ResourcesCheckExistenceParams struct {

	/*APIVersion
	  The API version to use for the operation.

	*/
	APIVersion string
	/*ParentResourcePath
	  The parent resource identity.

	*/
	ParentResourcePath string
	/*ResourceGroupName
	  The name of the resource group containing the resource to check. The name is case insensitive.

	*/
	ResourceGroupName string
	/*ResourceName
	  The name of the resource to check whether it exists.

	*/
	ResourceName string
	/*ResourceProviderNamespace
	  The resource provider of the resource to check.

	*/
	ResourceProviderNamespace string
	/*ResourceType
	  The resource type.

	*/
	ResourceType string
	/*SubscriptionID
	  The ID of the target subscription.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesCheckExistenceParams contains all the parameters to send to the API endpoint for the resources check existence operation typically these are written to a http.Request

func NewResourcesCheckExistenceParams

func NewResourcesCheckExistenceParams() *ResourcesCheckExistenceParams

NewResourcesCheckExistenceParams creates a new ResourcesCheckExistenceParams object with the default values initialized.

func NewResourcesCheckExistenceParamsWithContext

func NewResourcesCheckExistenceParamsWithContext(ctx context.Context) *ResourcesCheckExistenceParams

NewResourcesCheckExistenceParamsWithContext creates a new ResourcesCheckExistenceParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesCheckExistenceParamsWithHTTPClient

func NewResourcesCheckExistenceParamsWithHTTPClient(client *http.Client) *ResourcesCheckExistenceParams

NewResourcesCheckExistenceParamsWithHTTPClient creates a new ResourcesCheckExistenceParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesCheckExistenceParamsWithTimeout

func NewResourcesCheckExistenceParamsWithTimeout(timeout time.Duration) *ResourcesCheckExistenceParams

NewResourcesCheckExistenceParamsWithTimeout creates a new ResourcesCheckExistenceParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesCheckExistenceParams) SetAPIVersion

func (o *ResourcesCheckExistenceParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources check existence params

func (*ResourcesCheckExistenceParams) SetContext

func (o *ResourcesCheckExistenceParams) SetContext(ctx context.Context)

SetContext adds the context to the resources check existence params

func (*ResourcesCheckExistenceParams) SetHTTPClient

func (o *ResourcesCheckExistenceParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources check existence params

func (*ResourcesCheckExistenceParams) SetParentResourcePath

func (o *ResourcesCheckExistenceParams) SetParentResourcePath(parentResourcePath string)

SetParentResourcePath adds the parentResourcePath to the resources check existence params

func (*ResourcesCheckExistenceParams) SetResourceGroupName

func (o *ResourcesCheckExistenceParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the resources check existence params

func (*ResourcesCheckExistenceParams) SetResourceName

func (o *ResourcesCheckExistenceParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the resources check existence params

func (*ResourcesCheckExistenceParams) SetResourceProviderNamespace

func (o *ResourcesCheckExistenceParams) SetResourceProviderNamespace(resourceProviderNamespace string)

SetResourceProviderNamespace adds the resourceProviderNamespace to the resources check existence params

func (*ResourcesCheckExistenceParams) SetResourceType

func (o *ResourcesCheckExistenceParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the resources check existence params

func (*ResourcesCheckExistenceParams) SetSubscriptionID

func (o *ResourcesCheckExistenceParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the resources check existence params

func (*ResourcesCheckExistenceParams) SetTimeout

func (o *ResourcesCheckExistenceParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources check existence params

func (*ResourcesCheckExistenceParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the resources check existence params

func (*ResourcesCheckExistenceParams) WithContext

WithContext adds the context to the resources check existence params

func (*ResourcesCheckExistenceParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resources check existence params

func (*ResourcesCheckExistenceParams) WithParentResourcePath

func (o *ResourcesCheckExistenceParams) WithParentResourcePath(parentResourcePath string) *ResourcesCheckExistenceParams

WithParentResourcePath adds the parentResourcePath to the resources check existence params

func (*ResourcesCheckExistenceParams) WithResourceGroupName

func (o *ResourcesCheckExistenceParams) WithResourceGroupName(resourceGroupName string) *ResourcesCheckExistenceParams

WithResourceGroupName adds the resourceGroupName to the resources check existence params

func (*ResourcesCheckExistenceParams) WithResourceName

func (o *ResourcesCheckExistenceParams) WithResourceName(resourceName string) *ResourcesCheckExistenceParams

WithResourceName adds the resourceName to the resources check existence params

func (*ResourcesCheckExistenceParams) WithResourceProviderNamespace

func (o *ResourcesCheckExistenceParams) WithResourceProviderNamespace(resourceProviderNamespace string) *ResourcesCheckExistenceParams

WithResourceProviderNamespace adds the resourceProviderNamespace to the resources check existence params

func (*ResourcesCheckExistenceParams) WithResourceType

func (o *ResourcesCheckExistenceParams) WithResourceType(resourceType string) *ResourcesCheckExistenceParams

WithResourceType adds the resourceType to the resources check existence params

func (*ResourcesCheckExistenceParams) WithSubscriptionID

func (o *ResourcesCheckExistenceParams) WithSubscriptionID(subscriptionID string) *ResourcesCheckExistenceParams

WithSubscriptionID adds the subscriptionID to the resources check existence params

func (*ResourcesCheckExistenceParams) WithTimeout

WithTimeout adds the timeout to the resources check existence params

func (*ResourcesCheckExistenceParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResourcesCheckExistenceReader

type ResourcesCheckExistenceReader struct {
	// contains filtered or unexported fields
}

ResourcesCheckExistenceReader is a Reader for the ResourcesCheckExistence structure.

func (*ResourcesCheckExistenceReader) ReadResponse

func (o *ResourcesCheckExistenceReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesCreateOrUpdateAccepted

type ResourcesCreateOrUpdateAccepted struct {
}

ResourcesCreateOrUpdateAccepted handles this case with default header values.

Accepted

func NewResourcesCreateOrUpdateAccepted

func NewResourcesCreateOrUpdateAccepted() *ResourcesCreateOrUpdateAccepted

NewResourcesCreateOrUpdateAccepted creates a ResourcesCreateOrUpdateAccepted with default headers values

func (*ResourcesCreateOrUpdateAccepted) Error

type ResourcesCreateOrUpdateByIDAccepted

type ResourcesCreateOrUpdateByIDAccepted struct {
}

ResourcesCreateOrUpdateByIDAccepted handles this case with default header values.

Accepted

func NewResourcesCreateOrUpdateByIDAccepted

func NewResourcesCreateOrUpdateByIDAccepted() *ResourcesCreateOrUpdateByIDAccepted

NewResourcesCreateOrUpdateByIDAccepted creates a ResourcesCreateOrUpdateByIDAccepted with default headers values

func (*ResourcesCreateOrUpdateByIDAccepted) Error

type ResourcesCreateOrUpdateByIDCreated

type ResourcesCreateOrUpdateByIDCreated struct {
	Payload *models.GenericResource
}

ResourcesCreateOrUpdateByIDCreated handles this case with default header values.

Created - Returns information about the resource.

func NewResourcesCreateOrUpdateByIDCreated

func NewResourcesCreateOrUpdateByIDCreated() *ResourcesCreateOrUpdateByIDCreated

NewResourcesCreateOrUpdateByIDCreated creates a ResourcesCreateOrUpdateByIDCreated with default headers values

func (*ResourcesCreateOrUpdateByIDCreated) Error

type ResourcesCreateOrUpdateByIDOK

type ResourcesCreateOrUpdateByIDOK struct {
	Payload *models.GenericResource
}

ResourcesCreateOrUpdateByIDOK handles this case with default header values.

OK - Returns information about the resource.

func NewResourcesCreateOrUpdateByIDOK

func NewResourcesCreateOrUpdateByIDOK() *ResourcesCreateOrUpdateByIDOK

NewResourcesCreateOrUpdateByIDOK creates a ResourcesCreateOrUpdateByIDOK with default headers values

func (*ResourcesCreateOrUpdateByIDOK) Error

type ResourcesCreateOrUpdateByIDParams

type ResourcesCreateOrUpdateByIDParams struct {

	/*APIVersion
	  The API version to use for the operation.

	*/
	APIVersion string
	/*Parameters
	  Create or update resource parameters.

	*/
	Parameters *models.GenericResource
	/*ResourceID
	  The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}

	*/
	ResourceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesCreateOrUpdateByIDParams contains all the parameters to send to the API endpoint for the resources create or update by Id operation typically these are written to a http.Request

func NewResourcesCreateOrUpdateByIDParams

func NewResourcesCreateOrUpdateByIDParams() *ResourcesCreateOrUpdateByIDParams

NewResourcesCreateOrUpdateByIDParams creates a new ResourcesCreateOrUpdateByIDParams object with the default values initialized.

func NewResourcesCreateOrUpdateByIDParamsWithContext

func NewResourcesCreateOrUpdateByIDParamsWithContext(ctx context.Context) *ResourcesCreateOrUpdateByIDParams

NewResourcesCreateOrUpdateByIDParamsWithContext creates a new ResourcesCreateOrUpdateByIDParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesCreateOrUpdateByIDParamsWithHTTPClient

func NewResourcesCreateOrUpdateByIDParamsWithHTTPClient(client *http.Client) *ResourcesCreateOrUpdateByIDParams

NewResourcesCreateOrUpdateByIDParamsWithHTTPClient creates a new ResourcesCreateOrUpdateByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesCreateOrUpdateByIDParamsWithTimeout

func NewResourcesCreateOrUpdateByIDParamsWithTimeout(timeout time.Duration) *ResourcesCreateOrUpdateByIDParams

NewResourcesCreateOrUpdateByIDParamsWithTimeout creates a new ResourcesCreateOrUpdateByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesCreateOrUpdateByIDParams) SetAPIVersion

func (o *ResourcesCreateOrUpdateByIDParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) SetContext

SetContext adds the context to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) SetHTTPClient

func (o *ResourcesCreateOrUpdateByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) SetParameters

func (o *ResourcesCreateOrUpdateByIDParams) SetParameters(parameters *models.GenericResource)

SetParameters adds the parameters to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) SetResourceID

func (o *ResourcesCreateOrUpdateByIDParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) SetTimeout

func (o *ResourcesCreateOrUpdateByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) WithContext

WithContext adds the context to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) WithParameters

WithParameters adds the parameters to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) WithResourceID

WithResourceID adds the resourceID to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) WithTimeout

WithTimeout adds the timeout to the resources create or update by Id params

func (*ResourcesCreateOrUpdateByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResourcesCreateOrUpdateByIDReader

type ResourcesCreateOrUpdateByIDReader struct {
	// contains filtered or unexported fields
}

ResourcesCreateOrUpdateByIDReader is a Reader for the ResourcesCreateOrUpdateByID structure.

func (*ResourcesCreateOrUpdateByIDReader) ReadResponse

func (o *ResourcesCreateOrUpdateByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesCreateOrUpdateCreated

type ResourcesCreateOrUpdateCreated struct {
	Payload *models.GenericResource
}

ResourcesCreateOrUpdateCreated handles this case with default header values.

Created - Returns information about the resource.

func NewResourcesCreateOrUpdateCreated

func NewResourcesCreateOrUpdateCreated() *ResourcesCreateOrUpdateCreated

NewResourcesCreateOrUpdateCreated creates a ResourcesCreateOrUpdateCreated with default headers values

func (*ResourcesCreateOrUpdateCreated) Error

type ResourcesCreateOrUpdateOK

type ResourcesCreateOrUpdateOK struct {
	Payload *models.GenericResource
}

ResourcesCreateOrUpdateOK handles this case with default header values.

OK - Returns information about the resource.

func NewResourcesCreateOrUpdateOK

func NewResourcesCreateOrUpdateOK() *ResourcesCreateOrUpdateOK

NewResourcesCreateOrUpdateOK creates a ResourcesCreateOrUpdateOK with default headers values

func (*ResourcesCreateOrUpdateOK) Error

func (o *ResourcesCreateOrUpdateOK) Error() string

type ResourcesCreateOrUpdateParams

type ResourcesCreateOrUpdateParams struct {

	/*APIVersion
	  The API version to use for the operation.

	*/
	APIVersion string
	/*Parameters
	  Parameters for creating or updating the resource.

	*/
	Parameters *models.GenericResource
	/*ParentResourcePath
	  The parent resource identity.

	*/
	ParentResourcePath string
	/*ResourceGroupName
	  The name of the resource group for the resource. The name is case insensitive.

	*/
	ResourceGroupName string
	/*ResourceName
	  The name of the resource to create.

	*/
	ResourceName string
	/*ResourceProviderNamespace
	  The namespace of the resource provider.

	*/
	ResourceProviderNamespace string
	/*ResourceType
	  The resource type of the resource to create.

	*/
	ResourceType string
	/*SubscriptionID
	  The ID of the target subscription.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesCreateOrUpdateParams contains all the parameters to send to the API endpoint for the resources create or update operation typically these are written to a http.Request

func NewResourcesCreateOrUpdateParams

func NewResourcesCreateOrUpdateParams() *ResourcesCreateOrUpdateParams

NewResourcesCreateOrUpdateParams creates a new ResourcesCreateOrUpdateParams object with the default values initialized.

func NewResourcesCreateOrUpdateParamsWithContext

func NewResourcesCreateOrUpdateParamsWithContext(ctx context.Context) *ResourcesCreateOrUpdateParams

NewResourcesCreateOrUpdateParamsWithContext creates a new ResourcesCreateOrUpdateParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesCreateOrUpdateParamsWithHTTPClient

func NewResourcesCreateOrUpdateParamsWithHTTPClient(client *http.Client) *ResourcesCreateOrUpdateParams

NewResourcesCreateOrUpdateParamsWithHTTPClient creates a new ResourcesCreateOrUpdateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesCreateOrUpdateParamsWithTimeout

func NewResourcesCreateOrUpdateParamsWithTimeout(timeout time.Duration) *ResourcesCreateOrUpdateParams

NewResourcesCreateOrUpdateParamsWithTimeout creates a new ResourcesCreateOrUpdateParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesCreateOrUpdateParams) SetAPIVersion

func (o *ResourcesCreateOrUpdateParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetContext

func (o *ResourcesCreateOrUpdateParams) SetContext(ctx context.Context)

SetContext adds the context to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetHTTPClient

func (o *ResourcesCreateOrUpdateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetParameters

func (o *ResourcesCreateOrUpdateParams) SetParameters(parameters *models.GenericResource)

SetParameters adds the parameters to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetParentResourcePath

func (o *ResourcesCreateOrUpdateParams) SetParentResourcePath(parentResourcePath string)

SetParentResourcePath adds the parentResourcePath to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetResourceGroupName

func (o *ResourcesCreateOrUpdateParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetResourceName

func (o *ResourcesCreateOrUpdateParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetResourceProviderNamespace

func (o *ResourcesCreateOrUpdateParams) SetResourceProviderNamespace(resourceProviderNamespace string)

SetResourceProviderNamespace adds the resourceProviderNamespace to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetResourceType

func (o *ResourcesCreateOrUpdateParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetSubscriptionID

func (o *ResourcesCreateOrUpdateParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the resources create or update params

func (*ResourcesCreateOrUpdateParams) SetTimeout

func (o *ResourcesCreateOrUpdateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithAPIVersion

WithAPIVersion adds the aPIVersion to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithContext

WithContext adds the context to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithParameters

WithParameters adds the parameters to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithParentResourcePath

func (o *ResourcesCreateOrUpdateParams) WithParentResourcePath(parentResourcePath string) *ResourcesCreateOrUpdateParams

WithParentResourcePath adds the parentResourcePath to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithResourceGroupName

func (o *ResourcesCreateOrUpdateParams) WithResourceGroupName(resourceGroupName string) *ResourcesCreateOrUpdateParams

WithResourceGroupName adds the resourceGroupName to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithResourceName

func (o *ResourcesCreateOrUpdateParams) WithResourceName(resourceName string) *ResourcesCreateOrUpdateParams

WithResourceName adds the resourceName to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithResourceProviderNamespace

func (o *ResourcesCreateOrUpdateParams) WithResourceProviderNamespace(resourceProviderNamespace string) *ResourcesCreateOrUpdateParams

WithResourceProviderNamespace adds the resourceProviderNamespace to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithResourceType

func (o *ResourcesCreateOrUpdateParams) WithResourceType(resourceType string) *ResourcesCreateOrUpdateParams

WithResourceType adds the resourceType to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithSubscriptionID

func (o *ResourcesCreateOrUpdateParams) WithSubscriptionID(subscriptionID string) *ResourcesCreateOrUpdateParams

WithSubscriptionID adds the subscriptionID to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WithTimeout

WithTimeout adds the timeout to the resources create or update params

func (*ResourcesCreateOrUpdateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResourcesCreateOrUpdateReader

type ResourcesCreateOrUpdateReader struct {
	// contains filtered or unexported fields
}

ResourcesCreateOrUpdateReader is a Reader for the ResourcesCreateOrUpdate structure.

func (*ResourcesCreateOrUpdateReader) ReadResponse

func (o *ResourcesCreateOrUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesDeleteAccepted

type ResourcesDeleteAccepted struct {
}

ResourcesDeleteAccepted handles this case with default header values.

Accepted

func NewResourcesDeleteAccepted

func NewResourcesDeleteAccepted() *ResourcesDeleteAccepted

NewResourcesDeleteAccepted creates a ResourcesDeleteAccepted with default headers values

func (*ResourcesDeleteAccepted) Error

func (o *ResourcesDeleteAccepted) Error() string

type ResourcesDeleteByIDAccepted

type ResourcesDeleteByIDAccepted struct {
}

ResourcesDeleteByIDAccepted handles this case with default header values.

Accepted

func NewResourcesDeleteByIDAccepted

func NewResourcesDeleteByIDAccepted() *ResourcesDeleteByIDAccepted

NewResourcesDeleteByIDAccepted creates a ResourcesDeleteByIDAccepted with default headers values

func (*ResourcesDeleteByIDAccepted) Error

type ResourcesDeleteByIDNoContent

type ResourcesDeleteByIDNoContent struct {
}

ResourcesDeleteByIDNoContent handles this case with default header values.

No Content

func NewResourcesDeleteByIDNoContent

func NewResourcesDeleteByIDNoContent() *ResourcesDeleteByIDNoContent

NewResourcesDeleteByIDNoContent creates a ResourcesDeleteByIDNoContent with default headers values

func (*ResourcesDeleteByIDNoContent) Error

type ResourcesDeleteByIDOK

type ResourcesDeleteByIDOK struct {
}

ResourcesDeleteByIDOK handles this case with default header values.

OK

func NewResourcesDeleteByIDOK

func NewResourcesDeleteByIDOK() *ResourcesDeleteByIDOK

NewResourcesDeleteByIDOK creates a ResourcesDeleteByIDOK with default headers values

func (*ResourcesDeleteByIDOK) Error

func (o *ResourcesDeleteByIDOK) Error() string

type ResourcesDeleteByIDParams

type ResourcesDeleteByIDParams struct {

	/*APIVersion
	  The API version to use for the operation.

	*/
	APIVersion string
	/*ResourceID
	  The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}

	*/
	ResourceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesDeleteByIDParams contains all the parameters to send to the API endpoint for the resources delete by Id operation typically these are written to a http.Request

func NewResourcesDeleteByIDParams

func NewResourcesDeleteByIDParams() *ResourcesDeleteByIDParams

NewResourcesDeleteByIDParams creates a new ResourcesDeleteByIDParams object with the default values initialized.

func NewResourcesDeleteByIDParamsWithContext

func NewResourcesDeleteByIDParamsWithContext(ctx context.Context) *ResourcesDeleteByIDParams

NewResourcesDeleteByIDParamsWithContext creates a new ResourcesDeleteByIDParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesDeleteByIDParamsWithHTTPClient

func NewResourcesDeleteByIDParamsWithHTTPClient(client *http.Client) *ResourcesDeleteByIDParams

NewResourcesDeleteByIDParamsWithHTTPClient creates a new ResourcesDeleteByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesDeleteByIDParamsWithTimeout

func NewResourcesDeleteByIDParamsWithTimeout(timeout time.Duration) *ResourcesDeleteByIDParams

NewResourcesDeleteByIDParamsWithTimeout creates a new ResourcesDeleteByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesDeleteByIDParams) SetAPIVersion

func (o *ResourcesDeleteByIDParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources delete by Id params

func (*ResourcesDeleteByIDParams) SetContext

func (o *ResourcesDeleteByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the resources delete by Id params

func (*ResourcesDeleteByIDParams) SetHTTPClient

func (o *ResourcesDeleteByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources delete by Id params

func (*ResourcesDeleteByIDParams) SetResourceID

func (o *ResourcesDeleteByIDParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the resources delete by Id params

func (*ResourcesDeleteByIDParams) SetTimeout

func (o *ResourcesDeleteByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources delete by Id params

func (*ResourcesDeleteByIDParams) WithAPIVersion

func (o *ResourcesDeleteByIDParams) WithAPIVersion(aPIVersion string) *ResourcesDeleteByIDParams

WithAPIVersion adds the aPIVersion to the resources delete by Id params

func (*ResourcesDeleteByIDParams) WithContext

WithContext adds the context to the resources delete by Id params

func (*ResourcesDeleteByIDParams) WithHTTPClient

func (o *ResourcesDeleteByIDParams) WithHTTPClient(client *http.Client) *ResourcesDeleteByIDParams

WithHTTPClient adds the HTTPClient to the resources delete by Id params

func (*ResourcesDeleteByIDParams) WithResourceID

func (o *ResourcesDeleteByIDParams) WithResourceID(resourceID string) *ResourcesDeleteByIDParams

WithResourceID adds the resourceID to the resources delete by Id params

func (*ResourcesDeleteByIDParams) WithTimeout

WithTimeout adds the timeout to the resources delete by Id params

func (*ResourcesDeleteByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResourcesDeleteByIDReader

type ResourcesDeleteByIDReader struct {
	// contains filtered or unexported fields
}

ResourcesDeleteByIDReader is a Reader for the ResourcesDeleteByID structure.

func (*ResourcesDeleteByIDReader) ReadResponse

func (o *ResourcesDeleteByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesDeleteNoContent

type ResourcesDeleteNoContent struct {
}

ResourcesDeleteNoContent handles this case with default header values.

No Content

func NewResourcesDeleteNoContent

func NewResourcesDeleteNoContent() *ResourcesDeleteNoContent

NewResourcesDeleteNoContent creates a ResourcesDeleteNoContent with default headers values

func (*ResourcesDeleteNoContent) Error

func (o *ResourcesDeleteNoContent) Error() string

type ResourcesDeleteOK

type ResourcesDeleteOK struct {
}

ResourcesDeleteOK handles this case with default header values.

OK

func NewResourcesDeleteOK

func NewResourcesDeleteOK() *ResourcesDeleteOK

NewResourcesDeleteOK creates a ResourcesDeleteOK with default headers values

func (*ResourcesDeleteOK) Error

func (o *ResourcesDeleteOK) Error() string

type ResourcesDeleteParams

type ResourcesDeleteParams struct {

	/*APIVersion
	  The API version to use for the operation.

	*/
	APIVersion string
	/*ParentResourcePath
	  The parent resource identity.

	*/
	ParentResourcePath string
	/*ResourceGroupName
	  The name of the resource group that contains the resource to delete. The name is case insensitive.

	*/
	ResourceGroupName string
	/*ResourceName
	  The name of the resource to delete.

	*/
	ResourceName string
	/*ResourceProviderNamespace
	  The namespace of the resource provider.

	*/
	ResourceProviderNamespace string
	/*ResourceType
	  The resource type.

	*/
	ResourceType string
	/*SubscriptionID
	  The ID of the target subscription.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesDeleteParams contains all the parameters to send to the API endpoint for the resources delete operation typically these are written to a http.Request

func NewResourcesDeleteParams

func NewResourcesDeleteParams() *ResourcesDeleteParams

NewResourcesDeleteParams creates a new ResourcesDeleteParams object with the default values initialized.

func NewResourcesDeleteParamsWithContext

func NewResourcesDeleteParamsWithContext(ctx context.Context) *ResourcesDeleteParams

NewResourcesDeleteParamsWithContext creates a new ResourcesDeleteParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesDeleteParamsWithHTTPClient

func NewResourcesDeleteParamsWithHTTPClient(client *http.Client) *ResourcesDeleteParams

NewResourcesDeleteParamsWithHTTPClient creates a new ResourcesDeleteParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesDeleteParamsWithTimeout

func NewResourcesDeleteParamsWithTimeout(timeout time.Duration) *ResourcesDeleteParams

NewResourcesDeleteParamsWithTimeout creates a new ResourcesDeleteParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesDeleteParams) SetAPIVersion

func (o *ResourcesDeleteParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources delete params

func (*ResourcesDeleteParams) SetContext

func (o *ResourcesDeleteParams) SetContext(ctx context.Context)

SetContext adds the context to the resources delete params

func (*ResourcesDeleteParams) SetHTTPClient

func (o *ResourcesDeleteParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources delete params

func (*ResourcesDeleteParams) SetParentResourcePath

func (o *ResourcesDeleteParams) SetParentResourcePath(parentResourcePath string)

SetParentResourcePath adds the parentResourcePath to the resources delete params

func (*ResourcesDeleteParams) SetResourceGroupName

func (o *ResourcesDeleteParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the resources delete params

func (*ResourcesDeleteParams) SetResourceName

func (o *ResourcesDeleteParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the resources delete params

func (*ResourcesDeleteParams) SetResourceProviderNamespace

func (o *ResourcesDeleteParams) SetResourceProviderNamespace(resourceProviderNamespace string)

SetResourceProviderNamespace adds the resourceProviderNamespace to the resources delete params

func (*ResourcesDeleteParams) SetResourceType

func (o *ResourcesDeleteParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the resources delete params

func (*ResourcesDeleteParams) SetSubscriptionID

func (o *ResourcesDeleteParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the resources delete params

func (*ResourcesDeleteParams) SetTimeout

func (o *ResourcesDeleteParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources delete params

func (*ResourcesDeleteParams) WithAPIVersion

func (o *ResourcesDeleteParams) WithAPIVersion(aPIVersion string) *ResourcesDeleteParams

WithAPIVersion adds the aPIVersion to the resources delete params

func (*ResourcesDeleteParams) WithContext

WithContext adds the context to the resources delete params

func (*ResourcesDeleteParams) WithHTTPClient

func (o *ResourcesDeleteParams) WithHTTPClient(client *http.Client) *ResourcesDeleteParams

WithHTTPClient adds the HTTPClient to the resources delete params

func (*ResourcesDeleteParams) WithParentResourcePath

func (o *ResourcesDeleteParams) WithParentResourcePath(parentResourcePath string) *ResourcesDeleteParams

WithParentResourcePath adds the parentResourcePath to the resources delete params

func (*ResourcesDeleteParams) WithResourceGroupName

func (o *ResourcesDeleteParams) WithResourceGroupName(resourceGroupName string) *ResourcesDeleteParams

WithResourceGroupName adds the resourceGroupName to the resources delete params

func (*ResourcesDeleteParams) WithResourceName

func (o *ResourcesDeleteParams) WithResourceName(resourceName string) *ResourcesDeleteParams

WithResourceName adds the resourceName to the resources delete params

func (*ResourcesDeleteParams) WithResourceProviderNamespace

func (o *ResourcesDeleteParams) WithResourceProviderNamespace(resourceProviderNamespace string) *ResourcesDeleteParams

WithResourceProviderNamespace adds the resourceProviderNamespace to the resources delete params

func (*ResourcesDeleteParams) WithResourceType

func (o *ResourcesDeleteParams) WithResourceType(resourceType string) *ResourcesDeleteParams

WithResourceType adds the resourceType to the resources delete params

func (*ResourcesDeleteParams) WithSubscriptionID

func (o *ResourcesDeleteParams) WithSubscriptionID(subscriptionID string) *ResourcesDeleteParams

WithSubscriptionID adds the subscriptionID to the resources delete params

func (*ResourcesDeleteParams) WithTimeout

func (o *ResourcesDeleteParams) WithTimeout(timeout time.Duration) *ResourcesDeleteParams

WithTimeout adds the timeout to the resources delete params

func (*ResourcesDeleteParams) WriteToRequest

func (o *ResourcesDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResourcesDeleteReader

type ResourcesDeleteReader struct {
	// contains filtered or unexported fields
}

ResourcesDeleteReader is a Reader for the ResourcesDelete structure.

func (*ResourcesDeleteReader) ReadResponse

func (o *ResourcesDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesGetByIDOK

type ResourcesGetByIDOK struct {
	Payload *models.GenericResource
}

ResourcesGetByIDOK handles this case with default header values.

OK - Returns information about the resource.

func NewResourcesGetByIDOK

func NewResourcesGetByIDOK() *ResourcesGetByIDOK

NewResourcesGetByIDOK creates a ResourcesGetByIDOK with default headers values

func (*ResourcesGetByIDOK) Error

func (o *ResourcesGetByIDOK) Error() string

type ResourcesGetByIDParams

type ResourcesGetByIDParams struct {

	/*APIVersion
	  The API version to use for the operation.

	*/
	APIVersion string
	/*ResourceID
	  The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}

	*/
	ResourceID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesGetByIDParams contains all the parameters to send to the API endpoint for the resources get by Id operation typically these are written to a http.Request

func NewResourcesGetByIDParams

func NewResourcesGetByIDParams() *ResourcesGetByIDParams

NewResourcesGetByIDParams creates a new ResourcesGetByIDParams object with the default values initialized.

func NewResourcesGetByIDParamsWithContext

func NewResourcesGetByIDParamsWithContext(ctx context.Context) *ResourcesGetByIDParams

NewResourcesGetByIDParamsWithContext creates a new ResourcesGetByIDParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesGetByIDParamsWithHTTPClient

func NewResourcesGetByIDParamsWithHTTPClient(client *http.Client) *ResourcesGetByIDParams

NewResourcesGetByIDParamsWithHTTPClient creates a new ResourcesGetByIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesGetByIDParamsWithTimeout

func NewResourcesGetByIDParamsWithTimeout(timeout time.Duration) *ResourcesGetByIDParams

NewResourcesGetByIDParamsWithTimeout creates a new ResourcesGetByIDParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesGetByIDParams) SetAPIVersion

func (o *ResourcesGetByIDParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources get by Id params

func (*ResourcesGetByIDParams) SetContext

func (o *ResourcesGetByIDParams) SetContext(ctx context.Context)

SetContext adds the context to the resources get by Id params

func (*ResourcesGetByIDParams) SetHTTPClient

func (o *ResourcesGetByIDParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources get by Id params

func (*ResourcesGetByIDParams) SetResourceID

func (o *ResourcesGetByIDParams) SetResourceID(resourceID string)

SetResourceID adds the resourceId to the resources get by Id params

func (*ResourcesGetByIDParams) SetTimeout

func (o *ResourcesGetByIDParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources get by Id params

func (*ResourcesGetByIDParams) WithAPIVersion

func (o *ResourcesGetByIDParams) WithAPIVersion(aPIVersion string) *ResourcesGetByIDParams

WithAPIVersion adds the aPIVersion to the resources get by Id params

func (*ResourcesGetByIDParams) WithContext

WithContext adds the context to the resources get by Id params

func (*ResourcesGetByIDParams) WithHTTPClient

func (o *ResourcesGetByIDParams) WithHTTPClient(client *http.Client) *ResourcesGetByIDParams

WithHTTPClient adds the HTTPClient to the resources get by Id params

func (*ResourcesGetByIDParams) WithResourceID

func (o *ResourcesGetByIDParams) WithResourceID(resourceID string) *ResourcesGetByIDParams

WithResourceID adds the resourceID to the resources get by Id params

func (*ResourcesGetByIDParams) WithTimeout

WithTimeout adds the timeout to the resources get by Id params

func (*ResourcesGetByIDParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResourcesGetByIDReader

type ResourcesGetByIDReader struct {
	// contains filtered or unexported fields
}

ResourcesGetByIDReader is a Reader for the ResourcesGetByID structure.

func (*ResourcesGetByIDReader) ReadResponse

func (o *ResourcesGetByIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesGetOK

type ResourcesGetOK struct {
	Payload *models.GenericResource
}

ResourcesGetOK handles this case with default header values.

OK - Returns information about the resource.

func NewResourcesGetOK

func NewResourcesGetOK() *ResourcesGetOK

NewResourcesGetOK creates a ResourcesGetOK with default headers values

func (*ResourcesGetOK) Error

func (o *ResourcesGetOK) Error() string

type ResourcesGetParams

type ResourcesGetParams struct {

	/*APIVersion
	  The API version to use for the operation.

	*/
	APIVersion string
	/*ParentResourcePath
	  The parent resource identity.

	*/
	ParentResourcePath string
	/*ResourceGroupName
	  The name of the resource group containing the resource to get. The name is case insensitive.

	*/
	ResourceGroupName string
	/*ResourceName
	  The name of the resource to get.

	*/
	ResourceName string
	/*ResourceProviderNamespace
	  The namespace of the resource provider.

	*/
	ResourceProviderNamespace string
	/*ResourceType
	  The resource type of the resource.

	*/
	ResourceType string
	/*SubscriptionID
	  The ID of the target subscription.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesGetParams contains all the parameters to send to the API endpoint for the resources get operation typically these are written to a http.Request

func NewResourcesGetParams

func NewResourcesGetParams() *ResourcesGetParams

NewResourcesGetParams creates a new ResourcesGetParams object with the default values initialized.

func NewResourcesGetParamsWithContext

func NewResourcesGetParamsWithContext(ctx context.Context) *ResourcesGetParams

NewResourcesGetParamsWithContext creates a new ResourcesGetParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesGetParamsWithHTTPClient

func NewResourcesGetParamsWithHTTPClient(client *http.Client) *ResourcesGetParams

NewResourcesGetParamsWithHTTPClient creates a new ResourcesGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesGetParamsWithTimeout

func NewResourcesGetParamsWithTimeout(timeout time.Duration) *ResourcesGetParams

NewResourcesGetParamsWithTimeout creates a new ResourcesGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesGetParams) SetAPIVersion

func (o *ResourcesGetParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources get params

func (*ResourcesGetParams) SetContext

func (o *ResourcesGetParams) SetContext(ctx context.Context)

SetContext adds the context to the resources get params

func (*ResourcesGetParams) SetHTTPClient

func (o *ResourcesGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources get params

func (*ResourcesGetParams) SetParentResourcePath

func (o *ResourcesGetParams) SetParentResourcePath(parentResourcePath string)

SetParentResourcePath adds the parentResourcePath to the resources get params

func (*ResourcesGetParams) SetResourceGroupName

func (o *ResourcesGetParams) SetResourceGroupName(resourceGroupName string)

SetResourceGroupName adds the resourceGroupName to the resources get params

func (*ResourcesGetParams) SetResourceName

func (o *ResourcesGetParams) SetResourceName(resourceName string)

SetResourceName adds the resourceName to the resources get params

func (*ResourcesGetParams) SetResourceProviderNamespace

func (o *ResourcesGetParams) SetResourceProviderNamespace(resourceProviderNamespace string)

SetResourceProviderNamespace adds the resourceProviderNamespace to the resources get params

func (*ResourcesGetParams) SetResourceType

func (o *ResourcesGetParams) SetResourceType(resourceType string)

SetResourceType adds the resourceType to the resources get params

func (*ResourcesGetParams) SetSubscriptionID

func (o *ResourcesGetParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the resources get params

func (*ResourcesGetParams) SetTimeout

func (o *ResourcesGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources get params

func (*ResourcesGetParams) WithAPIVersion

func (o *ResourcesGetParams) WithAPIVersion(aPIVersion string) *ResourcesGetParams

WithAPIVersion adds the aPIVersion to the resources get params

func (*ResourcesGetParams) WithContext

WithContext adds the context to the resources get params

func (*ResourcesGetParams) WithHTTPClient

func (o *ResourcesGetParams) WithHTTPClient(client *http.Client) *ResourcesGetParams

WithHTTPClient adds the HTTPClient to the resources get params

func (*ResourcesGetParams) WithParentResourcePath

func (o *ResourcesGetParams) WithParentResourcePath(parentResourcePath string) *ResourcesGetParams

WithParentResourcePath adds the parentResourcePath to the resources get params

func (*ResourcesGetParams) WithResourceGroupName

func (o *ResourcesGetParams) WithResourceGroupName(resourceGroupName string) *ResourcesGetParams

WithResourceGroupName adds the resourceGroupName to the resources get params

func (*ResourcesGetParams) WithResourceName

func (o *ResourcesGetParams) WithResourceName(resourceName string) *ResourcesGetParams

WithResourceName adds the resourceName to the resources get params

func (*ResourcesGetParams) WithResourceProviderNamespace

func (o *ResourcesGetParams) WithResourceProviderNamespace(resourceProviderNamespace string) *ResourcesGetParams

WithResourceProviderNamespace adds the resourceProviderNamespace to the resources get params

func (*ResourcesGetParams) WithResourceType

func (o *ResourcesGetParams) WithResourceType(resourceType string) *ResourcesGetParams

WithResourceType adds the resourceType to the resources get params

func (*ResourcesGetParams) WithSubscriptionID

func (o *ResourcesGetParams) WithSubscriptionID(subscriptionID string) *ResourcesGetParams

WithSubscriptionID adds the subscriptionID to the resources get params

func (*ResourcesGetParams) WithTimeout

func (o *ResourcesGetParams) WithTimeout(timeout time.Duration) *ResourcesGetParams

WithTimeout adds the timeout to the resources get params

func (*ResourcesGetParams) WriteToRequest

func (o *ResourcesGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResourcesGetReader

type ResourcesGetReader struct {
	// contains filtered or unexported fields
}

ResourcesGetReader is a Reader for the ResourcesGet structure.

func (*ResourcesGetReader) ReadResponse

func (o *ResourcesGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesListOK

type ResourcesListOK struct {
	Payload *models.ResourceListResult
}

ResourcesListOK handles this case with default header values.

OK - Returns an array of resources.

func NewResourcesListOK

func NewResourcesListOK() *ResourcesListOK

NewResourcesListOK creates a ResourcesListOK with default headers values

func (*ResourcesListOK) Error

func (o *ResourcesListOK) Error() string

type ResourcesListParams

type ResourcesListParams struct {

	/*NrDollarExpand
	  The $expand query parameter.

	*/
	DollarExpand *string
	/*NrDollarFilter
	  The filter to apply on the operation.

	*/
	DollarFilter *string
	/*NrDollarTop
	  The number of results to return. If null is passed, returns all resource groups.

	*/
	DollarTop *int32
	/*APIVersion
	  The API version to use for this operation.

	*/
	APIVersion string
	/*SubscriptionID
	  The ID of the target subscription.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesListParams contains all the parameters to send to the API endpoint for the resources list operation typically these are written to a http.Request

func NewResourcesListParams

func NewResourcesListParams() *ResourcesListParams

NewResourcesListParams creates a new ResourcesListParams object with the default values initialized.

func NewResourcesListParamsWithContext

func NewResourcesListParamsWithContext(ctx context.Context) *ResourcesListParams

NewResourcesListParamsWithContext creates a new ResourcesListParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesListParamsWithHTTPClient

func NewResourcesListParamsWithHTTPClient(client *http.Client) *ResourcesListParams

NewResourcesListParamsWithHTTPClient creates a new ResourcesListParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesListParamsWithTimeout

func NewResourcesListParamsWithTimeout(timeout time.Duration) *ResourcesListParams

NewResourcesListParamsWithTimeout creates a new ResourcesListParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesListParams) SetAPIVersion

func (o *ResourcesListParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources list params

func (*ResourcesListParams) SetContext

func (o *ResourcesListParams) SetContext(ctx context.Context)

SetContext adds the context to the resources list params

func (*ResourcesListParams) SetDollarExpand

func (o *ResourcesListParams) SetDollarExpand(dollarExpand *string)

SetDollarExpand adds the dollarExpand to the resources list params

func (*ResourcesListParams) SetDollarFilter

func (o *ResourcesListParams) SetDollarFilter(dollarFilter *string)

SetDollarFilter adds the dollarFilter to the resources list params

func (*ResourcesListParams) SetDollarTop

func (o *ResourcesListParams) SetDollarTop(dollarTop *int32)

SetDollarTop adds the dollarTop to the resources list params

func (*ResourcesListParams) SetHTTPClient

func (o *ResourcesListParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources list params

func (*ResourcesListParams) SetSubscriptionID

func (o *ResourcesListParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the resources list params

func (*ResourcesListParams) SetTimeout

func (o *ResourcesListParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources list params

func (*ResourcesListParams) WithAPIVersion

func (o *ResourcesListParams) WithAPIVersion(aPIVersion string) *ResourcesListParams

WithAPIVersion adds the aPIVersion to the resources list params

func (*ResourcesListParams) WithContext

WithContext adds the context to the resources list params

func (*ResourcesListParams) WithDollarExpand

func (o *ResourcesListParams) WithDollarExpand(dollarExpand *string) *ResourcesListParams

WithDollarExpand adds the dollarExpand to the resources list params

func (*ResourcesListParams) WithDollarFilter

func (o *ResourcesListParams) WithDollarFilter(dollarFilter *string) *ResourcesListParams

WithDollarFilter adds the dollarFilter to the resources list params

func (*ResourcesListParams) WithDollarTop

func (o *ResourcesListParams) WithDollarTop(dollarTop *int32) *ResourcesListParams

WithDollarTop adds the dollarTop to the resources list params

func (*ResourcesListParams) WithHTTPClient

func (o *ResourcesListParams) WithHTTPClient(client *http.Client) *ResourcesListParams

WithHTTPClient adds the HTTPClient to the resources list params

func (*ResourcesListParams) WithSubscriptionID

func (o *ResourcesListParams) WithSubscriptionID(subscriptionID string) *ResourcesListParams

WithSubscriptionID adds the subscriptionID to the resources list params

func (*ResourcesListParams) WithTimeout

func (o *ResourcesListParams) WithTimeout(timeout time.Duration) *ResourcesListParams

WithTimeout adds the timeout to the resources list params

func (*ResourcesListParams) WriteToRequest

func (o *ResourcesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type ResourcesListReader

type ResourcesListReader struct {
	// contains filtered or unexported fields
}

ResourcesListReader is a Reader for the ResourcesList structure.

func (*ResourcesListReader) ReadResponse

func (o *ResourcesListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type ResourcesMoveResourcesAccepted

type ResourcesMoveResourcesAccepted struct {
}

ResourcesMoveResourcesAccepted handles this case with default header values.

Accepted

func NewResourcesMoveResourcesAccepted

func NewResourcesMoveResourcesAccepted() *ResourcesMoveResourcesAccepted

NewResourcesMoveResourcesAccepted creates a ResourcesMoveResourcesAccepted with default headers values

func (*ResourcesMoveResourcesAccepted) Error

type ResourcesMoveResourcesNoContent

type ResourcesMoveResourcesNoContent struct {
}

ResourcesMoveResourcesNoContent handles this case with default header values.

No Content

func NewResourcesMoveResourcesNoContent

func NewResourcesMoveResourcesNoContent() *ResourcesMoveResourcesNoContent

NewResourcesMoveResourcesNoContent creates a ResourcesMoveResourcesNoContent with default headers values

func (*ResourcesMoveResourcesNoContent) Error

type ResourcesMoveResourcesParams

type ResourcesMoveResourcesParams struct {

	/*APIVersion
	  The API version to use for this operation.

	*/
	APIVersion string
	/*Parameters
	  Parameters for moving resources.

	*/
	Parameters *models.ResourcesMoveInfo
	/*SourceResourceGroupName
	  The name of the resource group containing the rsources to move.

	*/
	SourceResourceGroupName string
	/*SubscriptionID
	  The ID of the target subscription.

	*/
	SubscriptionID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

ResourcesMoveResourcesParams contains all the parameters to send to the API endpoint for the resources move resources operation typically these are written to a http.Request

func NewResourcesMoveResourcesParams

func NewResourcesMoveResourcesParams() *ResourcesMoveResourcesParams

NewResourcesMoveResourcesParams creates a new ResourcesMoveResourcesParams object with the default values initialized.

func NewResourcesMoveResourcesParamsWithContext

func NewResourcesMoveResourcesParamsWithContext(ctx context.Context) *ResourcesMoveResourcesParams

NewResourcesMoveResourcesParamsWithContext creates a new ResourcesMoveResourcesParams object with the default values initialized, and the ability to set a context for a request

func NewResourcesMoveResourcesParamsWithHTTPClient

func NewResourcesMoveResourcesParamsWithHTTPClient(client *http.Client) *ResourcesMoveResourcesParams

NewResourcesMoveResourcesParamsWithHTTPClient creates a new ResourcesMoveResourcesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewResourcesMoveResourcesParamsWithTimeout

func NewResourcesMoveResourcesParamsWithTimeout(timeout time.Duration) *ResourcesMoveResourcesParams

NewResourcesMoveResourcesParamsWithTimeout creates a new ResourcesMoveResourcesParams object with the default values initialized, and the ability to set a timeout on a request

func (*ResourcesMoveResourcesParams) SetAPIVersion

func (o *ResourcesMoveResourcesParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the resources move resources params

func (*ResourcesMoveResourcesParams) SetContext

func (o *ResourcesMoveResourcesParams) SetContext(ctx context.Context)

SetContext adds the context to the resources move resources params

func (*ResourcesMoveResourcesParams) SetHTTPClient

func (o *ResourcesMoveResourcesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the resources move resources params

func (*ResourcesMoveResourcesParams) SetParameters

func (o *ResourcesMoveResourcesParams) SetParameters(parameters *models.ResourcesMoveInfo)

SetParameters adds the parameters to the resources move resources params

func (*ResourcesMoveResourcesParams) SetSourceResourceGroupName

func (o *ResourcesMoveResourcesParams) SetSourceResourceGroupName(sourceResourceGroupName string)

SetSourceResourceGroupName adds the sourceResourceGroupName to the resources move resources params

func (*ResourcesMoveResourcesParams) SetSubscriptionID

func (o *ResourcesMoveResourcesParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the resources move resources params

func (*ResourcesMoveResourcesParams) SetTimeout

func (o *ResourcesMoveResourcesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the resources move resources params

func (*ResourcesMoveResourcesParams) WithAPIVersion

func (o *ResourcesMoveResourcesParams) WithAPIVersion(aPIVersion string) *ResourcesMoveResourcesParams

WithAPIVersion adds the aPIVersion to the resources move resources params

func (*ResourcesMoveResourcesParams) WithContext

WithContext adds the context to the resources move resources params

func (*ResourcesMoveResourcesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the resources move resources params

func (*ResourcesMoveResourcesParams) WithParameters

WithParameters adds the parameters to the resources move resources params

func (*ResourcesMoveResourcesParams) WithSourceResourceGroupName

func (o *ResourcesMoveResourcesParams) WithSourceResourceGroupName(sourceResourceGroupName string) *ResourcesMoveResourcesParams

WithSourceResourceGroupName adds the sourceResourceGroupName to the resources move resources params

func (*ResourcesMoveResourcesParams) WithSubscriptionID

func (o *ResourcesMoveResourcesParams) WithSubscriptionID(subscriptionID string) *ResourcesMoveResourcesParams

WithSubscriptionID adds the subscriptionID to the resources move resources params

func (*ResourcesMoveResourcesParams) WithTimeout

WithTimeout adds the timeout to the resources move resources params

func (*ResourcesMoveResourcesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ResourcesMoveResourcesReader

type ResourcesMoveResourcesReader struct {
	// contains filtered or unexported fields
}

ResourcesMoveResourcesReader is a Reader for the ResourcesMoveResources structure.

func (*ResourcesMoveResourcesReader) ReadResponse

func (o *ResourcesMoveResourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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