confluent

package
v54.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package confluent implements the Azure ARM Confluent service API version 2021-03-01-preview.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Confluent
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AgreementProperties

type AgreementProperties struct {
	// Publisher - Publisher identifier string.
	Publisher *string `json:"publisher,omitempty"`
	// Product - Product identifier string.
	Product *string `json:"product,omitempty"`
	// Plan - Plan identifier string.
	Plan *string `json:"plan,omitempty"`
	// LicenseTextLink - Link to HTML with Microsoft and Publisher terms.
	LicenseTextLink *string `json:"licenseTextLink,omitempty"`
	// PrivacyPolicyLink - Link to the privacy policy of the publisher.
	PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty"`
	// RetrieveDatetime - Date and time in UTC of when the terms were accepted. This is empty if Accepted is false.
	RetrieveDatetime *date.Time `json:"retrieveDatetime,omitempty"`
	// Signature - Terms signature.
	Signature *string `json:"signature,omitempty"`
	// Accepted - If any version of the terms have been accepted, otherwise false.
	Accepted *bool `json:"accepted,omitempty"`
}

AgreementProperties terms properties for Marketplace and Confluent.

type AgreementResource

type AgreementResource struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; The ARM id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the agreement.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the agreement.
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource
	SystemData *SystemData `json:"systemData,omitempty"`
	// AgreementProperties - Represents the properties of the resource.
	*AgreementProperties `json:"properties,omitempty"`
}

AgreementResource agreement Terms definition

func (AgreementResource) MarshalJSON

func (ar AgreementResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AgreementResource.

func (*AgreementResource) UnmarshalJSON

func (ar *AgreementResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AgreementResource struct.

type AgreementResourceListResponse

type AgreementResourceListResponse struct {
	autorest.Response `json:"-"`
	// Value - Results of a list operation.
	Value *[]AgreementResource `json:"value,omitempty"`
	// NextLink - Link to the next set of results, if any.
	NextLink *string `json:"nextLink,omitempty"`
}

AgreementResourceListResponse response of a list operation.

func (AgreementResourceListResponse) IsEmpty

func (arlr AgreementResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AgreementResourceListResponseIterator

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

AgreementResourceListResponseIterator provides access to a complete listing of AgreementResource values.

func NewAgreementResourceListResponseIterator

func NewAgreementResourceListResponseIterator(page AgreementResourceListResponsePage) AgreementResourceListResponseIterator

Creates a new instance of the AgreementResourceListResponseIterator type.

func (*AgreementResourceListResponseIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AgreementResourceListResponseIterator) NextWithContext

func (iter *AgreementResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AgreementResourceListResponseIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AgreementResourceListResponseIterator) Response

Response returns the raw server response from the last page request.

func (AgreementResourceListResponseIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AgreementResourceListResponsePage

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

AgreementResourceListResponsePage contains a page of AgreementResource values.

func NewAgreementResourceListResponsePage

Creates a new instance of the AgreementResourceListResponsePage type.

func (*AgreementResourceListResponsePage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AgreementResourceListResponsePage) NextWithContext

func (page *AgreementResourceListResponsePage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AgreementResourceListResponsePage) NotDone

func (page AgreementResourceListResponsePage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AgreementResourceListResponsePage) Response

Response returns the raw server response from the last page request.

func (AgreementResourceListResponsePage) Values

Values returns the slice of values for the current page or nil if there are no values.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Confluent.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// CreatedByTypeApplication ...
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey ...
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity ...
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser ...
	CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type ErrorResponseBody

type ErrorResponseBody struct {
	// Code - READ-ONLY; Error code
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; Error message
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; Error target
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; Error detail
	Details *[]ErrorResponseBody `json:"details,omitempty"`
}

ErrorResponseBody response body of Error

type MarketplaceAgreementsClient

type MarketplaceAgreementsClient struct {
	BaseClient
}

MarketplaceAgreementsClient is the client for the MarketplaceAgreements methods of the Confluent service.

func NewMarketplaceAgreementsClient

func NewMarketplaceAgreementsClient(subscriptionID string) MarketplaceAgreementsClient

NewMarketplaceAgreementsClient creates an instance of the MarketplaceAgreementsClient client.

func NewMarketplaceAgreementsClientWithBaseURI

func NewMarketplaceAgreementsClientWithBaseURI(baseURI string, subscriptionID string) MarketplaceAgreementsClient

NewMarketplaceAgreementsClientWithBaseURI creates an instance of the MarketplaceAgreementsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MarketplaceAgreementsClient) Create

func (client MarketplaceAgreementsClient) Create(ctx context.Context, body *AgreementResource) (result AgreementResource, err error)

Create sends the create request. Parameters: body - confluent Marketplace Agreement resource

func (MarketplaceAgreementsClient) CreatePreparer

func (client MarketplaceAgreementsClient) CreatePreparer(ctx context.Context, body *AgreementResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (MarketplaceAgreementsClient) CreateResponder

func (client MarketplaceAgreementsClient) CreateResponder(resp *http.Response) (result AgreementResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (MarketplaceAgreementsClient) CreateSender

func (client MarketplaceAgreementsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (MarketplaceAgreementsClient) List

List sends the list request.

func (MarketplaceAgreementsClient) ListComplete

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (MarketplaceAgreementsClient) ListPreparer

func (client MarketplaceAgreementsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (MarketplaceAgreementsClient) ListResponder

func (client MarketplaceAgreementsClient) ListResponder(resp *http.Response) (result AgreementResourceListResponse, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (MarketplaceAgreementsClient) ListSender

func (client MarketplaceAgreementsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OfferDetail

type OfferDetail struct {
	// PublisherID - Publisher Id
	PublisherID *string `json:"publisherId,omitempty"`
	// ID - Offer Id
	ID *string `json:"id,omitempty"`
	// PlanID - Offer Plan Id
	PlanID *string `json:"planId,omitempty"`
	// PlanName - Offer Plan Name
	PlanName *string `json:"planName,omitempty"`
	// TermUnit - Offer Plan Term unit
	TermUnit *string `json:"termUnit,omitempty"`
	// Status - SaaS Offer Status. Possible values include: 'SaaSOfferStatusStarted', 'SaaSOfferStatusPendingFulfillmentStart', 'SaaSOfferStatusInProgress', 'SaaSOfferStatusSubscribed', 'SaaSOfferStatusSuspended', 'SaaSOfferStatusReinstated', 'SaaSOfferStatusSucceeded', 'SaaSOfferStatusFailed', 'SaaSOfferStatusUnsubscribed', 'SaaSOfferStatusUpdating'
	Status SaaSOfferStatus `json:"status,omitempty"`
}

OfferDetail confluent Offer detail

type OperationDisplay

type OperationDisplay struct {
	// Provider - Service provider: Microsoft.Confluent
	Provider *string `json:"provider,omitempty"`
	// Resource - Type on which the operation is performed, e.g., 'clusters'.
	Resource *string `json:"resource,omitempty"`
	// Operation - Operation type, e.g., read, write, delete, etc.
	Operation *string `json:"operation,omitempty"`
	// Description - Description of the operation, e.g., 'Write confluent'.
	Description *string `json:"description,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - List of Confluent operations supported by the Microsoft.Confluent provider.
	Value *[]OperationResult `json:"value,omitempty"`
	// NextLink - URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult result of GET request to list Confluent operations.

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

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

OperationListResultIterator provides access to a complete listing of OperationResult values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

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

OperationListResultPage contains a page of OperationResult values.

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []OperationResult

Values returns the slice of values for the current page or nil if there are no values.

type OperationResult

type OperationResult struct {
	// Name - Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
	// Display - The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`
	// IsDataAction - Indicates whether the operation is a data action
	IsDataAction *bool `json:"isDataAction,omitempty"`
}

OperationResult an Confluent REST API operation.

type OrganizationClient

type OrganizationClient struct {
	BaseClient
}

OrganizationClient is the client for the Organization methods of the Confluent service.

func NewOrganizationClient

func NewOrganizationClient(subscriptionID string) OrganizationClient

NewOrganizationClient creates an instance of the OrganizationClient client.

func NewOrganizationClientWithBaseURI

func NewOrganizationClientWithBaseURI(baseURI string, subscriptionID string) OrganizationClient

NewOrganizationClientWithBaseURI creates an instance of the OrganizationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OrganizationClient) Create

func (client OrganizationClient) Create(ctx context.Context, resourceGroupName string, organizationName string, body *OrganizationResource) (result OrganizationCreateFuture, err error)

Create sends the create request. Parameters: resourceGroupName - resource group name organizationName - organization resource name body - organization resource model

func (OrganizationClient) CreatePreparer

func (client OrganizationClient) CreatePreparer(ctx context.Context, resourceGroupName string, organizationName string, body *OrganizationResource) (*http.Request, error)

CreatePreparer prepares the Create request.

func (OrganizationClient) CreateResponder

func (client OrganizationClient) CreateResponder(resp *http.Response) (result OrganizationResource, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (OrganizationClient) CreateSender

func (client OrganizationClient) CreateSender(req *http.Request) (future OrganizationCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (OrganizationClient) Delete

func (client OrganizationClient) Delete(ctx context.Context, resourceGroupName string, organizationName string) (result OrganizationDeleteFuture, err error)

Delete sends the delete request. Parameters: resourceGroupName - resource group name organizationName - organization resource name

func (OrganizationClient) DeletePreparer

func (client OrganizationClient) DeletePreparer(ctx context.Context, resourceGroupName string, organizationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (OrganizationClient) DeleteResponder

func (client OrganizationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (OrganizationClient) DeleteSender

func (client OrganizationClient) DeleteSender(req *http.Request) (future OrganizationDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (OrganizationClient) Get

func (client OrganizationClient) Get(ctx context.Context, resourceGroupName string, organizationName string) (result OrganizationResource, err error)

Get sends the get request. Parameters: resourceGroupName - resource group name organizationName - organization resource name

func (OrganizationClient) GetPreparer

func (client OrganizationClient) GetPreparer(ctx context.Context, resourceGroupName string, organizationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OrganizationClient) GetResponder

func (client OrganizationClient) GetResponder(resp *http.Response) (result OrganizationResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OrganizationClient) GetSender

func (client OrganizationClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (OrganizationClient) ListByResourceGroup

func (client OrganizationClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result OrganizationResourceListResultPage, err error)

ListByResourceGroup sends the list by resource group request. Parameters: resourceGroupName - resource group name

func (OrganizationClient) ListByResourceGroupComplete

func (client OrganizationClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result OrganizationResourceListResultIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (OrganizationClient) ListByResourceGroupPreparer

func (client OrganizationClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (OrganizationClient) ListByResourceGroupResponder

func (client OrganizationClient) ListByResourceGroupResponder(resp *http.Response) (result OrganizationResourceListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (OrganizationClient) ListByResourceGroupSender

func (client OrganizationClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (OrganizationClient) ListBySubscription

func (client OrganizationClient) ListBySubscription(ctx context.Context) (result OrganizationResourceListResultPage, err error)

ListBySubscription sends the list by subscription request.

func (OrganizationClient) ListBySubscriptionComplete

func (client OrganizationClient) ListBySubscriptionComplete(ctx context.Context) (result OrganizationResourceListResultIterator, err error)

ListBySubscriptionComplete enumerates all values, automatically crossing page boundaries as required.

func (OrganizationClient) ListBySubscriptionPreparer

func (client OrganizationClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (OrganizationClient) ListBySubscriptionResponder

func (client OrganizationClient) ListBySubscriptionResponder(resp *http.Response) (result OrganizationResourceListResult, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (OrganizationClient) ListBySubscriptionSender

func (client OrganizationClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (OrganizationClient) Update

func (client OrganizationClient) Update(ctx context.Context, resourceGroupName string, organizationName string, body *OrganizationResourceUpdate) (result OrganizationResource, err error)

Update sends the update request. Parameters: resourceGroupName - resource group name organizationName - organization resource name body - updated Organization resource

func (OrganizationClient) UpdatePreparer

func (client OrganizationClient) UpdatePreparer(ctx context.Context, resourceGroupName string, organizationName string, body *OrganizationResourceUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (OrganizationClient) UpdateResponder

func (client OrganizationClient) UpdateResponder(resp *http.Response) (result OrganizationResource, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (OrganizationClient) UpdateSender

func (client OrganizationClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type OrganizationCreateFuture

type OrganizationCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(OrganizationClient) (OrganizationResource, error)
}

OrganizationCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OrganizationCreateFuture) UnmarshalJSON

func (future *OrganizationCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OrganizationDeleteFuture

type OrganizationDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(OrganizationClient) (autorest.Response, error)
}

OrganizationDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*OrganizationDeleteFuture) UnmarshalJSON

func (future *OrganizationDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OrganizationOperationsClient

type OrganizationOperationsClient struct {
	BaseClient
}

OrganizationOperationsClient is the client for the OrganizationOperations methods of the Confluent service.

func NewOrganizationOperationsClient

func NewOrganizationOperationsClient(subscriptionID string) OrganizationOperationsClient

NewOrganizationOperationsClient creates an instance of the OrganizationOperationsClient client.

func NewOrganizationOperationsClientWithBaseURI

func NewOrganizationOperationsClientWithBaseURI(baseURI string, subscriptionID string) OrganizationOperationsClient

NewOrganizationOperationsClientWithBaseURI creates an instance of the OrganizationOperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OrganizationOperationsClient) List

List sends the list request.

func (OrganizationOperationsClient) ListComplete

func (client OrganizationOperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OrganizationOperationsClient) ListPreparer

func (client OrganizationOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OrganizationOperationsClient) ListResponder

func (client OrganizationOperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OrganizationOperationsClient) ListSender

func (client OrganizationOperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OrganizationResource

type OrganizationResource struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; The ARM id of the resource.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource
	SystemData *SystemData `json:"systemData,omitempty"`
	// OrganizationResourceProperties - Organization resource properties
	*OrganizationResourceProperties `json:"properties,omitempty"`
	// Tags - Organization resource tags
	Tags map[string]*string `json:"tags"`
	// Location - Location of Organization resource
	Location *string `json:"location,omitempty"`
}

OrganizationResource organization resource.

func (OrganizationResource) MarshalJSON

func (or OrganizationResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrganizationResource.

func (*OrganizationResource) UnmarshalJSON

func (or *OrganizationResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OrganizationResource struct.

type OrganizationResourceListResult

type OrganizationResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - Result of a list operation.
	Value *[]OrganizationResource `json:"value,omitempty"`
	// NextLink - Link to the next set of results, if any.
	NextLink *string `json:"nextLink,omitempty"`
}

OrganizationResourceListResult the response of a list operation.

func (OrganizationResourceListResult) IsEmpty

func (orlr OrganizationResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OrganizationResourceListResultIterator

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

OrganizationResourceListResultIterator provides access to a complete listing of OrganizationResource values.

func NewOrganizationResourceListResultIterator

func NewOrganizationResourceListResultIterator(page OrganizationResourceListResultPage) OrganizationResourceListResultIterator

Creates a new instance of the OrganizationResourceListResultIterator type.

func (*OrganizationResourceListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OrganizationResourceListResultIterator) NextWithContext

func (iter *OrganizationResourceListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OrganizationResourceListResultIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (OrganizationResourceListResultIterator) Response

Response returns the raw server response from the last page request.

func (OrganizationResourceListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OrganizationResourceListResultPage

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

OrganizationResourceListResultPage contains a page of OrganizationResource values.

func NewOrganizationResourceListResultPage

Creates a new instance of the OrganizationResourceListResultPage type.

func (*OrganizationResourceListResultPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OrganizationResourceListResultPage) NextWithContext

func (page *OrganizationResourceListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OrganizationResourceListResultPage) NotDone

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OrganizationResourceListResultPage) Response

Response returns the raw server response from the last page request.

func (OrganizationResourceListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type OrganizationResourceProperties

type OrganizationResourceProperties struct {
	// CreatedTime - READ-ONLY; The creation time of the resource.
	CreatedTime *date.Time `json:"createdTime,omitempty"`
	// ProvisioningState - READ-ONLY; Provision states for confluent RP. Possible values include: 'ProvisionStateAccepted', 'ProvisionStateCreating', 'ProvisionStateUpdating', 'ProvisionStateDeleting', 'ProvisionStateSucceeded', 'ProvisionStateFailed', 'ProvisionStateCanceled', 'ProvisionStateDeleted', 'ProvisionStateNotSpecified'
	ProvisioningState ProvisionState `json:"provisioningState,omitempty"`
	// OrganizationID - READ-ONLY; Id of the Confluent organization.
	OrganizationID *string `json:"organizationId,omitempty"`
	// SsoURL - READ-ONLY; SSO url for the Confluent organization.
	SsoURL *string `json:"ssoUrl,omitempty"`
	// OfferDetail - Confluent offer detail
	OfferDetail *OfferDetail `json:"offerDetail,omitempty"`
	// UserDetail - Subscriber detail
	UserDetail *UserDetail `json:"userDetail,omitempty"`
}

OrganizationResourceProperties organization resource property

func (OrganizationResourceProperties) MarshalJSON

func (orp OrganizationResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrganizationResourceProperties.

type OrganizationResourceUpdate

type OrganizationResourceUpdate struct {
	// Tags - ARM resource tags
	Tags map[string]*string `json:"tags"`
}

OrganizationResourceUpdate organization Resource update

func (OrganizationResourceUpdate) MarshalJSON

func (oru OrganizationResourceUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrganizationResourceUpdate.

type ProvisionState

type ProvisionState string

ProvisionState enumerates the values for provision state.

const (
	// ProvisionStateAccepted ...
	ProvisionStateAccepted ProvisionState = "Accepted"
	// ProvisionStateCanceled ...
	ProvisionStateCanceled ProvisionState = "Canceled"
	// ProvisionStateCreating ...
	ProvisionStateCreating ProvisionState = "Creating"
	// ProvisionStateDeleted ...
	ProvisionStateDeleted ProvisionState = "Deleted"
	// ProvisionStateDeleting ...
	ProvisionStateDeleting ProvisionState = "Deleting"
	// ProvisionStateFailed ...
	ProvisionStateFailed ProvisionState = "Failed"
	// ProvisionStateNotSpecified ...
	ProvisionStateNotSpecified ProvisionState = "NotSpecified"
	// ProvisionStateSucceeded ...
	ProvisionStateSucceeded ProvisionState = "Succeeded"
	// ProvisionStateUpdating ...
	ProvisionStateUpdating ProvisionState = "Updating"
)

func PossibleProvisionStateValues

func PossibleProvisionStateValues() []ProvisionState

PossibleProvisionStateValues returns an array of possible values for the ProvisionState const type.

type ResourceProviderDefaultErrorResponse

type ResourceProviderDefaultErrorResponse struct {
	// Error - READ-ONLY; Response body of Error
	Error *ErrorResponseBody `json:"error,omitempty"`
}

ResourceProviderDefaultErrorResponse default error response for resource provider

type SaaSOfferStatus

type SaaSOfferStatus string

SaaSOfferStatus enumerates the values for saa s offer status.

const (
	// SaaSOfferStatusFailed ...
	SaaSOfferStatusFailed SaaSOfferStatus = "Failed"
	// SaaSOfferStatusInProgress ...
	SaaSOfferStatusInProgress SaaSOfferStatus = "InProgress"
	// SaaSOfferStatusPendingFulfillmentStart ...
	SaaSOfferStatusPendingFulfillmentStart SaaSOfferStatus = "PendingFulfillmentStart"
	// SaaSOfferStatusReinstated ...
	SaaSOfferStatusReinstated SaaSOfferStatus = "Reinstated"
	// SaaSOfferStatusStarted ...
	SaaSOfferStatusStarted SaaSOfferStatus = "Started"
	// SaaSOfferStatusSubscribed ...
	SaaSOfferStatusSubscribed SaaSOfferStatus = "Subscribed"
	// SaaSOfferStatusSucceeded ...
	SaaSOfferStatusSucceeded SaaSOfferStatus = "Succeeded"
	// SaaSOfferStatusSuspended ...
	SaaSOfferStatusSuspended SaaSOfferStatus = "Suspended"
	// SaaSOfferStatusUnsubscribed ...
	SaaSOfferStatusUnsubscribed SaaSOfferStatus = "Unsubscribed"
	// SaaSOfferStatusUpdating ...
	SaaSOfferStatusUpdating SaaSOfferStatus = "Updating"
)

func PossibleSaaSOfferStatusValues

func PossibleSaaSOfferStatusValues() []SaaSOfferStatus

PossibleSaaSOfferStatusValues returns an array of possible values for the SaaSOfferStatus const type.

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type UserDetail

type UserDetail struct {
	// FirstName - First name
	FirstName *string `json:"firstName,omitempty"`
	// LastName - Last name
	LastName *string `json:"lastName,omitempty"`
	// EmailAddress - Email address
	EmailAddress *string `json:"emailAddress,omitempty"`
}

UserDetail subscriber detail

type ValidationsClient

type ValidationsClient struct {
	BaseClient
}

ValidationsClient is the client for the Validations methods of the Confluent service.

func NewValidationsClient

func NewValidationsClient(subscriptionID string) ValidationsClient

NewValidationsClient creates an instance of the ValidationsClient client.

func NewValidationsClientWithBaseURI

func NewValidationsClientWithBaseURI(baseURI string, subscriptionID string) ValidationsClient

NewValidationsClientWithBaseURI creates an instance of the ValidationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ValidationsClient) ValidateOrganization

func (client ValidationsClient) ValidateOrganization(ctx context.Context, resourceGroupName string, organizationName string, body OrganizationResource) (result OrganizationResource, err error)

ValidateOrganization sends the validate organization request. Parameters: resourceGroupName - resource group name organizationName - organization resource name body - organization resource model

func (ValidationsClient) ValidateOrganizationPreparer

func (client ValidationsClient) ValidateOrganizationPreparer(ctx context.Context, resourceGroupName string, organizationName string, body OrganizationResource) (*http.Request, error)

ValidateOrganizationPreparer prepares the ValidateOrganization request.

func (ValidationsClient) ValidateOrganizationResponder

func (client ValidationsClient) ValidateOrganizationResponder(resp *http.Response) (result OrganizationResource, err error)

ValidateOrganizationResponder handles the response to the ValidateOrganization request. The method always closes the http.Response Body.

func (ValidationsClient) ValidateOrganizationSender

func (client ValidationsClient) ValidateOrganizationSender(req *http.Request) (*http.Response, error)

ValidateOrganizationSender sends the ValidateOrganization request. The method will close the http.Response Body if it receives an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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