providers

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 providers API

func New

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

New creates a new providers API client.

func (*Client) ProvidersGet

func (a *Client) ProvidersGet(params *ProvidersGetParams, authInfo runtime.ClientAuthInfoWriter) (*ProvidersGetOK, error)

ProvidersGet Gets the specified resource provider.

func (*Client) ProvidersList

func (a *Client) ProvidersList(params *ProvidersListParams, authInfo runtime.ClientAuthInfoWriter) (*ProvidersListOK, error)

ProvidersList Gets all resource providers for a subscription.

func (*Client) ProvidersRegister

func (a *Client) ProvidersRegister(params *ProvidersRegisterParams, authInfo runtime.ClientAuthInfoWriter) (*ProvidersRegisterOK, error)

ProvidersRegister Registers a subscription with a resource provider.

func (*Client) ProvidersUnregister

func (a *Client) ProvidersUnregister(params *ProvidersUnregisterParams, authInfo runtime.ClientAuthInfoWriter) (*ProvidersUnregisterOK, error)

ProvidersUnregister Unregisters a subscription from a resource provider.

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ProvidersGetOK

type ProvidersGetOK struct {
	Payload *models.Provider
}

ProvidersGetOK handles this case with default header values.

OK - Returns information about the resource provider.

func NewProvidersGetOK

func NewProvidersGetOK() *ProvidersGetOK

NewProvidersGetOK creates a ProvidersGetOK with default headers values

func (*ProvidersGetOK) Error

func (o *ProvidersGetOK) Error() string

type ProvidersGetParams

type ProvidersGetParams struct {

	/*NrDollarExpand
	  The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases.

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

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

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

	*/
	SubscriptionID string

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

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

func NewProvidersGetParams

func NewProvidersGetParams() *ProvidersGetParams

NewProvidersGetParams creates a new ProvidersGetParams object with the default values initialized.

func NewProvidersGetParamsWithContext

func NewProvidersGetParamsWithContext(ctx context.Context) *ProvidersGetParams

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

func NewProvidersGetParamsWithHTTPClient

func NewProvidersGetParamsWithHTTPClient(client *http.Client) *ProvidersGetParams

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

func NewProvidersGetParamsWithTimeout

func NewProvidersGetParamsWithTimeout(timeout time.Duration) *ProvidersGetParams

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

func (*ProvidersGetParams) SetAPIVersion

func (o *ProvidersGetParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the providers get params

func (*ProvidersGetParams) SetContext

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

SetContext adds the context to the providers get params

func (*ProvidersGetParams) SetDollarExpand

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

SetDollarExpand adds the dollarExpand to the providers get params

func (*ProvidersGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the providers get params

func (*ProvidersGetParams) SetResourceProviderNamespace

func (o *ProvidersGetParams) SetResourceProviderNamespace(resourceProviderNamespace string)

SetResourceProviderNamespace adds the resourceProviderNamespace to the providers get params

func (*ProvidersGetParams) SetSubscriptionID

func (o *ProvidersGetParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the providers get params

func (*ProvidersGetParams) SetTimeout

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

SetTimeout adds the timeout to the providers get params

func (*ProvidersGetParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the providers get params

func (*ProvidersGetParams) WithContext

WithContext adds the context to the providers get params

func (*ProvidersGetParams) WithDollarExpand

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

WithDollarExpand adds the dollarExpand to the providers get params

func (*ProvidersGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the providers get params

func (*ProvidersGetParams) WithResourceProviderNamespace

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

WithResourceProviderNamespace adds the resourceProviderNamespace to the providers get params

func (*ProvidersGetParams) WithSubscriptionID

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

WithSubscriptionID adds the subscriptionID to the providers get params

func (*ProvidersGetParams) WithTimeout

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

WithTimeout adds the timeout to the providers get params

func (*ProvidersGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ProvidersGetReader

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

ProvidersGetReader is a Reader for the ProvidersGet structure.

func (*ProvidersGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProvidersListOK

type ProvidersListOK struct {
	Payload *models.ProviderListResult
}

ProvidersListOK handles this case with default header values.

OK - Returns an array of resource providers.

func NewProvidersListOK

func NewProvidersListOK() *ProvidersListOK

NewProvidersListOK creates a ProvidersListOK with default headers values

func (*ProvidersListOK) Error

func (o *ProvidersListOK) Error() string

type ProvidersListParams

type ProvidersListParams struct {

	/*NrDollarExpand
	  The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases.

	*/
	DollarExpand *string
	/*NrDollarTop
	  The number of results to return. If null is passed returns all deployments.

	*/
	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
}

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

func NewProvidersListParams

func NewProvidersListParams() *ProvidersListParams

NewProvidersListParams creates a new ProvidersListParams object with the default values initialized.

func NewProvidersListParamsWithContext

func NewProvidersListParamsWithContext(ctx context.Context) *ProvidersListParams

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

func NewProvidersListParamsWithHTTPClient

func NewProvidersListParamsWithHTTPClient(client *http.Client) *ProvidersListParams

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

func NewProvidersListParamsWithTimeout

func NewProvidersListParamsWithTimeout(timeout time.Duration) *ProvidersListParams

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

func (*ProvidersListParams) SetAPIVersion

func (o *ProvidersListParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the providers list params

func (*ProvidersListParams) SetContext

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

SetContext adds the context to the providers list params

func (*ProvidersListParams) SetDollarExpand

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

SetDollarExpand adds the dollarExpand to the providers list params

func (*ProvidersListParams) SetDollarTop

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

SetDollarTop adds the dollarTop to the providers list params

func (*ProvidersListParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the providers list params

func (*ProvidersListParams) SetSubscriptionID

func (o *ProvidersListParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the providers list params

func (*ProvidersListParams) SetTimeout

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

SetTimeout adds the timeout to the providers list params

func (*ProvidersListParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the providers list params

func (*ProvidersListParams) WithContext

WithContext adds the context to the providers list params

func (*ProvidersListParams) WithDollarExpand

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

WithDollarExpand adds the dollarExpand to the providers list params

func (*ProvidersListParams) WithDollarTop

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

WithDollarTop adds the dollarTop to the providers list params

func (*ProvidersListParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the providers list params

func (*ProvidersListParams) WithSubscriptionID

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

WithSubscriptionID adds the subscriptionID to the providers list params

func (*ProvidersListParams) WithTimeout

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

WithTimeout adds the timeout to the providers list params

func (*ProvidersListParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type ProvidersListReader

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

ProvidersListReader is a Reader for the ProvidersList structure.

func (*ProvidersListReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProvidersRegisterOK

type ProvidersRegisterOK struct {
	Payload *models.Provider
}

ProvidersRegisterOK handles this case with default header values.

OK - Returns information about the resource provider.

func NewProvidersRegisterOK

func NewProvidersRegisterOK() *ProvidersRegisterOK

NewProvidersRegisterOK creates a ProvidersRegisterOK with default headers values

func (*ProvidersRegisterOK) Error

func (o *ProvidersRegisterOK) Error() string

type ProvidersRegisterParams

type ProvidersRegisterParams struct {

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

	*/
	APIVersion string
	/*ResourceProviderNamespace
	  The namespace of the resource provider to register.

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

	*/
	SubscriptionID string

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

ProvidersRegisterParams contains all the parameters to send to the API endpoint for the providers register operation typically these are written to a http.Request

func NewProvidersRegisterParams

func NewProvidersRegisterParams() *ProvidersRegisterParams

NewProvidersRegisterParams creates a new ProvidersRegisterParams object with the default values initialized.

func NewProvidersRegisterParamsWithContext

func NewProvidersRegisterParamsWithContext(ctx context.Context) *ProvidersRegisterParams

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

func NewProvidersRegisterParamsWithHTTPClient

func NewProvidersRegisterParamsWithHTTPClient(client *http.Client) *ProvidersRegisterParams

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

func NewProvidersRegisterParamsWithTimeout

func NewProvidersRegisterParamsWithTimeout(timeout time.Duration) *ProvidersRegisterParams

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

func (*ProvidersRegisterParams) SetAPIVersion

func (o *ProvidersRegisterParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the providers register params

func (*ProvidersRegisterParams) SetContext

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

SetContext adds the context to the providers register params

func (*ProvidersRegisterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the providers register params

func (*ProvidersRegisterParams) SetResourceProviderNamespace

func (o *ProvidersRegisterParams) SetResourceProviderNamespace(resourceProviderNamespace string)

SetResourceProviderNamespace adds the resourceProviderNamespace to the providers register params

func (*ProvidersRegisterParams) SetSubscriptionID

func (o *ProvidersRegisterParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the providers register params

func (*ProvidersRegisterParams) SetTimeout

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

SetTimeout adds the timeout to the providers register params

func (*ProvidersRegisterParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the providers register params

func (*ProvidersRegisterParams) WithContext

WithContext adds the context to the providers register params

func (*ProvidersRegisterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the providers register params

func (*ProvidersRegisterParams) WithResourceProviderNamespace

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

WithResourceProviderNamespace adds the resourceProviderNamespace to the providers register params

func (*ProvidersRegisterParams) WithSubscriptionID

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

WithSubscriptionID adds the subscriptionID to the providers register params

func (*ProvidersRegisterParams) WithTimeout

WithTimeout adds the timeout to the providers register params

func (*ProvidersRegisterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProvidersRegisterReader

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

ProvidersRegisterReader is a Reader for the ProvidersRegister structure.

func (*ProvidersRegisterReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ProvidersUnregisterOK

type ProvidersUnregisterOK struct {
	Payload *models.Provider
}

ProvidersUnregisterOK handles this case with default header values.

OK - Returns informatin about the resource provider.

func NewProvidersUnregisterOK

func NewProvidersUnregisterOK() *ProvidersUnregisterOK

NewProvidersUnregisterOK creates a ProvidersUnregisterOK with default headers values

func (*ProvidersUnregisterOK) Error

func (o *ProvidersUnregisterOK) Error() string

type ProvidersUnregisterParams

type ProvidersUnregisterParams struct {

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

	*/
	APIVersion string
	/*ResourceProviderNamespace
	  The namespace of the resource provider to unregister.

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

	*/
	SubscriptionID string

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

ProvidersUnregisterParams contains all the parameters to send to the API endpoint for the providers unregister operation typically these are written to a http.Request

func NewProvidersUnregisterParams

func NewProvidersUnregisterParams() *ProvidersUnregisterParams

NewProvidersUnregisterParams creates a new ProvidersUnregisterParams object with the default values initialized.

func NewProvidersUnregisterParamsWithContext

func NewProvidersUnregisterParamsWithContext(ctx context.Context) *ProvidersUnregisterParams

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

func NewProvidersUnregisterParamsWithHTTPClient

func NewProvidersUnregisterParamsWithHTTPClient(client *http.Client) *ProvidersUnregisterParams

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

func NewProvidersUnregisterParamsWithTimeout

func NewProvidersUnregisterParamsWithTimeout(timeout time.Duration) *ProvidersUnregisterParams

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

func (*ProvidersUnregisterParams) SetAPIVersion

func (o *ProvidersUnregisterParams) SetAPIVersion(aPIVersion string)

SetAPIVersion adds the apiVersion to the providers unregister params

func (*ProvidersUnregisterParams) SetContext

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

SetContext adds the context to the providers unregister params

func (*ProvidersUnregisterParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the providers unregister params

func (*ProvidersUnregisterParams) SetResourceProviderNamespace

func (o *ProvidersUnregisterParams) SetResourceProviderNamespace(resourceProviderNamespace string)

SetResourceProviderNamespace adds the resourceProviderNamespace to the providers unregister params

func (*ProvidersUnregisterParams) SetSubscriptionID

func (o *ProvidersUnregisterParams) SetSubscriptionID(subscriptionID string)

SetSubscriptionID adds the subscriptionId to the providers unregister params

func (*ProvidersUnregisterParams) SetTimeout

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

SetTimeout adds the timeout to the providers unregister params

func (*ProvidersUnregisterParams) WithAPIVersion

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

WithAPIVersion adds the aPIVersion to the providers unregister params

func (*ProvidersUnregisterParams) WithContext

WithContext adds the context to the providers unregister params

func (*ProvidersUnregisterParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the providers unregister params

func (*ProvidersUnregisterParams) WithResourceProviderNamespace

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

WithResourceProviderNamespace adds the resourceProviderNamespace to the providers unregister params

func (*ProvidersUnregisterParams) WithSubscriptionID

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

WithSubscriptionID adds the subscriptionID to the providers unregister params

func (*ProvidersUnregisterParams) WithTimeout

WithTimeout adds the timeout to the providers unregister params

func (*ProvidersUnregisterParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ProvidersUnregisterReader

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

ProvidersUnregisterReader is a Reader for the ProvidersUnregister structure.

func (*ProvidersUnregisterReader) ReadResponse

func (o *ProvidersUnregisterReader) 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