...

Package confluent

import "github.com/Azure/azure-sdk-for-go/services/confluent/mgmt/2020-03-01/confluent"
Overview
Index
Subdirectories

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/confluent/armconfluent(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/confluent/armconfluent). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

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

Index ▾

Constants
func UserAgent() string
func Version() string
type AgreementProperties
type AgreementResource
    func (ar AgreementResource) MarshalJSON() ([]byte, error)
    func (ar *AgreementResource) UnmarshalJSON(body []byte) error
type AgreementResourceListResponse
    func (arlr AgreementResourceListResponse) IsEmpty() bool
type AgreementResourceListResponseIterator
    func NewAgreementResourceListResponseIterator(page AgreementResourceListResponsePage) AgreementResourceListResponseIterator
    func (iter *AgreementResourceListResponseIterator) Next() error
    func (iter *AgreementResourceListResponseIterator) NextWithContext(ctx context.Context) (err error)
    func (iter AgreementResourceListResponseIterator) NotDone() bool
    func (iter AgreementResourceListResponseIterator) Response() AgreementResourceListResponse
    func (iter AgreementResourceListResponseIterator) Value() AgreementResource
type AgreementResourceListResponsePage
    func NewAgreementResourceListResponsePage(cur AgreementResourceListResponse, getNextPage func(context.Context, AgreementResourceListResponse) (AgreementResourceListResponse, error)) AgreementResourceListResponsePage
    func (page *AgreementResourceListResponsePage) Next() error
    func (page *AgreementResourceListResponsePage) NextWithContext(ctx context.Context) (err error)
    func (page AgreementResourceListResponsePage) NotDone() bool
    func (page AgreementResourceListResponsePage) Response() AgreementResourceListResponse
    func (page AgreementResourceListResponsePage) Values() []AgreementResource
type BaseClient
    func New(subscriptionID string) BaseClient
    func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
type ErrorResponseBody
    func (erb ErrorResponseBody) MarshalJSON() ([]byte, error)
type MarketplaceAgreementsClient
    func NewMarketplaceAgreementsClient(subscriptionID string) MarketplaceAgreementsClient
    func NewMarketplaceAgreementsClientWithBaseURI(baseURI string, subscriptionID string) MarketplaceAgreementsClient
    func (client MarketplaceAgreementsClient) Create(ctx context.Context, body *AgreementResource) (result AgreementResource, err error)
    func (client MarketplaceAgreementsClient) CreatePreparer(ctx context.Context, body *AgreementResource) (*http.Request, error)
    func (client MarketplaceAgreementsClient) CreateResponder(resp *http.Response) (result AgreementResource, err error)
    func (client MarketplaceAgreementsClient) CreateSender(req *http.Request) (*http.Response, error)
    func (client MarketplaceAgreementsClient) List(ctx context.Context) (result AgreementResourceListResponsePage, err error)
    func (client MarketplaceAgreementsClient) ListComplete(ctx context.Context) (result AgreementResourceListResponseIterator, err error)
    func (client MarketplaceAgreementsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client MarketplaceAgreementsClient) ListResponder(resp *http.Response) (result AgreementResourceListResponse, err error)
    func (client MarketplaceAgreementsClient) ListSender(req *http.Request) (*http.Response, error)
type OfferDetail
type OperationDisplay
type OperationListResult
    func (olr OperationListResult) IsEmpty() bool
type OperationListResultIterator
    func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator
    func (iter *OperationListResultIterator) Next() error
    func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OperationListResultIterator) NotDone() bool
    func (iter OperationListResultIterator) Response() OperationListResult
    func (iter OperationListResultIterator) Value() OperationResult
type OperationListResultPage
    func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage
    func (page *OperationListResultPage) Next() error
    func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OperationListResultPage) NotDone() bool
    func (page OperationListResultPage) Response() OperationListResult
    func (page OperationListResultPage) Values() []OperationResult
type OperationResult
type OrganizationClient
    func NewOrganizationClient(subscriptionID string) OrganizationClient
    func NewOrganizationClientWithBaseURI(baseURI string, subscriptionID string) OrganizationClient
    func (client OrganizationClient) Create(ctx context.Context, resourceGroupName string, organizationName string, body *OrganizationResource) (result OrganizationCreateFuture, err error)
    func (client OrganizationClient) CreatePreparer(ctx context.Context, resourceGroupName string, organizationName string, body *OrganizationResource) (*http.Request, error)
    func (client OrganizationClient) CreateResponder(resp *http.Response) (result OrganizationResource, err error)
    func (client OrganizationClient) CreateSender(req *http.Request) (future OrganizationCreateFuture, err error)
    func (client OrganizationClient) Delete(ctx context.Context, resourceGroupName string, organizationName string) (result OrganizationDeleteFuture, err error)
    func (client OrganizationClient) DeletePreparer(ctx context.Context, resourceGroupName string, organizationName string) (*http.Request, error)
    func (client OrganizationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
    func (client OrganizationClient) DeleteSender(req *http.Request) (future OrganizationDeleteFuture, err error)
    func (client OrganizationClient) Get(ctx context.Context, resourceGroupName string, organizationName string) (result OrganizationResource, err error)
    func (client OrganizationClient) GetPreparer(ctx context.Context, resourceGroupName string, organizationName string) (*http.Request, error)
    func (client OrganizationClient) GetResponder(resp *http.Response) (result OrganizationResource, err error)
    func (client OrganizationClient) GetSender(req *http.Request) (*http.Response, error)
    func (client OrganizationClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result OrganizationResourceListResultPage, err error)
    func (client OrganizationClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result OrganizationResourceListResultIterator, err error)
    func (client OrganizationClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
    func (client OrganizationClient) ListByResourceGroupResponder(resp *http.Response) (result OrganizationResourceListResult, err error)
    func (client OrganizationClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
    func (client OrganizationClient) ListBySubscription(ctx context.Context) (result OrganizationResourceListResultPage, err error)
    func (client OrganizationClient) ListBySubscriptionComplete(ctx context.Context) (result OrganizationResourceListResultIterator, err error)
    func (client OrganizationClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
    func (client OrganizationClient) ListBySubscriptionResponder(resp *http.Response) (result OrganizationResourceListResult, err error)
    func (client OrganizationClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
    func (client OrganizationClient) Update(ctx context.Context, resourceGroupName string, organizationName string, body *OrganizationResourceUpdate) (result OrganizationResource, err error)
    func (client OrganizationClient) UpdatePreparer(ctx context.Context, resourceGroupName string, organizationName string, body *OrganizationResourceUpdate) (*http.Request, error)
    func (client OrganizationClient) UpdateResponder(resp *http.Response) (result OrganizationResource, err error)
    func (client OrganizationClient) UpdateSender(req *http.Request) (*http.Response, error)
type OrganizationCreateFuture
    func (future *OrganizationCreateFuture) UnmarshalJSON(body []byte) error
type OrganizationDeleteFuture
    func (future *OrganizationDeleteFuture) UnmarshalJSON(body []byte) error
type OrganizationOperationsClient
    func NewOrganizationOperationsClient(subscriptionID string) OrganizationOperationsClient
    func NewOrganizationOperationsClientWithBaseURI(baseURI string, subscriptionID string) OrganizationOperationsClient
    func (client OrganizationOperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)
    func (client OrganizationOperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)
    func (client OrganizationOperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
    func (client OrganizationOperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)
    func (client OrganizationOperationsClient) ListSender(req *http.Request) (*http.Response, error)
type OrganizationResource
    func (or OrganizationResource) MarshalJSON() ([]byte, error)
    func (or *OrganizationResource) UnmarshalJSON(body []byte) error
type OrganizationResourceListResult
    func (orlr OrganizationResourceListResult) IsEmpty() bool
type OrganizationResourceListResultIterator
    func NewOrganizationResourceListResultIterator(page OrganizationResourceListResultPage) OrganizationResourceListResultIterator
    func (iter *OrganizationResourceListResultIterator) Next() error
    func (iter *OrganizationResourceListResultIterator) NextWithContext(ctx context.Context) (err error)
    func (iter OrganizationResourceListResultIterator) NotDone() bool
    func (iter OrganizationResourceListResultIterator) Response() OrganizationResourceListResult
    func (iter OrganizationResourceListResultIterator) Value() OrganizationResource
type OrganizationResourceListResultPage
    func NewOrganizationResourceListResultPage(cur OrganizationResourceListResult, getNextPage func(context.Context, OrganizationResourceListResult) (OrganizationResourceListResult, error)) OrganizationResourceListResultPage
    func (page *OrganizationResourceListResultPage) Next() error
    func (page *OrganizationResourceListResultPage) NextWithContext(ctx context.Context) (err error)
    func (page OrganizationResourceListResultPage) NotDone() bool
    func (page OrganizationResourceListResultPage) Response() OrganizationResourceListResult
    func (page OrganizationResourceListResultPage) Values() []OrganizationResource
type OrganizationResourceProperties
    func (orp OrganizationResourceProperties) MarshalJSON() ([]byte, error)
type OrganizationResourcePropertiesModel
    func (orpm OrganizationResourcePropertiesModel) MarshalJSON() ([]byte, error)
type OrganizationResourcePropertiesOfferDetail
type OrganizationResourcePropertiesUserDetail
type OrganizationResourceUpdate
    func (oru OrganizationResourceUpdate) MarshalJSON() ([]byte, error)
type ProvisionState
    func PossibleProvisionStateValues() []ProvisionState
type ResourceProviderDefaultErrorResponse
    func (rpder ResourceProviderDefaultErrorResponse) MarshalJSON() ([]byte, error)
type SaaSOfferStatus
    func PossibleSaaSOfferStatusValues() []SaaSOfferStatus
type UserDetail

Package files

client.go enums.go marketplaceagreements.go models.go organization.go organizationoperations.go version.go

Constants

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

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.

type AgreementProperties

AgreementProperties terms properties for Marketplace and Confluent.

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"`
}

type AgreementResource

AgreementResource confluent Agreements Resource.

type AgreementResource struct {
    autorest.Response `json:"-"`
    // ID - READ-ONLY; ARM id of the resource.
    ID *string `json:"id,omitempty"`
    // Name - READ-ONLY; Name of the agreement.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource.
    Type *string `json:"type,omitempty"`
    // AgreementProperties - Represents the properties of the resource.
    *AgreementProperties `json:"properties,omitempty"`
}

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

AgreementResourceListResponse response of a list operation.

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"`
}

func (AgreementResourceListResponse) IsEmpty

func (arlr AgreementResourceListResponse) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AgreementResourceListResponseIterator

AgreementResourceListResponseIterator provides access to a complete listing of AgreementResource values.

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

func NewAgreementResourceListResponseIterator

func NewAgreementResourceListResponseIterator(page AgreementResourceListResponsePage) AgreementResourceListResponseIterator

Creates a new instance of the AgreementResourceListResponseIterator type.

func (*AgreementResourceListResponseIterator) Next

func (iter *AgreementResourceListResponseIterator) 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 (*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

func (iter AgreementResourceListResponseIterator) NotDone() bool

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

func (AgreementResourceListResponseIterator) Response

func (iter AgreementResourceListResponseIterator) Response() AgreementResourceListResponse

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

func (AgreementResourceListResponseIterator) Value

func (iter AgreementResourceListResponseIterator) Value() AgreementResource

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

type AgreementResourceListResponsePage

AgreementResourceListResponsePage contains a page of AgreementResource values.

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

func NewAgreementResourceListResponsePage

func NewAgreementResourceListResponsePage(cur AgreementResourceListResponse, getNextPage func(context.Context, AgreementResourceListResponse) (AgreementResourceListResponse, error)) AgreementResourceListResponsePage

Creates a new instance of the AgreementResourceListResponsePage type.

func (*AgreementResourceListResponsePage) Next

func (page *AgreementResourceListResponsePage) 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 (*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

func (page AgreementResourceListResponsePage) Response() AgreementResourceListResponse

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

func (AgreementResourceListResponsePage) Values

func (page AgreementResourceListResponsePage) Values() []AgreementResource

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

type BaseClient

BaseClient is the base client for Confluent.

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

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 ErrorResponseBody

ErrorResponseBody response body of Error

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"`
}

func (ErrorResponseBody) MarshalJSON

func (erb ErrorResponseBody) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorResponseBody.

type MarketplaceAgreementsClient

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

type MarketplaceAgreementsClient struct {
    BaseClient
}

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

func (client MarketplaceAgreementsClient) List(ctx context.Context) (result AgreementResourceListResponsePage, err error)

List sends the list request.

func (MarketplaceAgreementsClient) ListComplete

func (client MarketplaceAgreementsClient) ListComplete(ctx context.Context) (result AgreementResourceListResponseIterator, err error)

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

OfferDetail confluent Offer detail

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"`
}

type OperationDisplay

OperationDisplay the object that represents the operation.

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"`
}

type OperationListResult

OperationListResult result of GET request to list Confluent operations.

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"`
}

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

OperationListResultIterator provides access to a complete listing of OperationResult values.

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

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

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value

func (iter OperationListResultIterator) Value() OperationResult

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

type OperationListResultPage

OperationListResultPage contains a page of OperationResult values.

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

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

func (page OperationListResultPage) Response() OperationListResult

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

OperationResult an Confluent REST API operation.

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"`
}

type OrganizationClient

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

type OrganizationClient struct {
    BaseClient
}

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

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

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

func (*OrganizationCreateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OrganizationDeleteFuture

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

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

func (*OrganizationDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type OrganizationOperationsClient

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

type OrganizationOperationsClient struct {
    BaseClient
}

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

func (client OrganizationOperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

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

OrganizationResource organization resource.

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"`
    // OrganizationResourcePropertiesModel - Organization resource properties
    *OrganizationResourcePropertiesModel `json:"properties,omitempty"`
    // Tags - Organization resource tags
    Tags map[string]*string `json:"tags"`
    // Location - Location of Organization resource
    Location *string `json:"location,omitempty"`
}

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

OrganizationResourceListResult the response of a list operation.

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"`
}

func (OrganizationResourceListResult) IsEmpty

func (orlr OrganizationResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OrganizationResourceListResultIterator

OrganizationResourceListResultIterator provides access to a complete listing of OrganizationResource values.

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

func NewOrganizationResourceListResultIterator

func NewOrganizationResourceListResultIterator(page OrganizationResourceListResultPage) OrganizationResourceListResultIterator

Creates a new instance of the OrganizationResourceListResultIterator type.

func (*OrganizationResourceListResultIterator) Next

func (iter *OrganizationResourceListResultIterator) 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 (*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

func (iter OrganizationResourceListResultIterator) NotDone() bool

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

func (OrganizationResourceListResultIterator) Response

func (iter OrganizationResourceListResultIterator) Response() OrganizationResourceListResult

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

func (OrganizationResourceListResultIterator) Value

func (iter OrganizationResourceListResultIterator) Value() OrganizationResource

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

type OrganizationResourceListResultPage

OrganizationResourceListResultPage contains a page of OrganizationResource values.

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

func NewOrganizationResourceListResultPage

func NewOrganizationResourceListResultPage(cur OrganizationResourceListResult, getNextPage func(context.Context, OrganizationResourceListResult) (OrganizationResourceListResult, error)) OrganizationResourceListResultPage

Creates a new instance of the OrganizationResourceListResultPage type.

func (*OrganizationResourceListResultPage) Next

func (page *OrganizationResourceListResultPage) 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 (*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

func (page OrganizationResourceListResultPage) NotDone() bool

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

func (OrganizationResourceListResultPage) Response

func (page OrganizationResourceListResultPage) Response() OrganizationResourceListResult

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

func (OrganizationResourceListResultPage) Values

func (page OrganizationResourceListResultPage) Values() []OrganizationResource

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

type OrganizationResourceProperties

OrganizationResourceProperties organization resource property

type OrganizationResourceProperties struct {
    // CreatedTime - READ-ONLY; The creation time of the resource.
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // ProvisioningState - Provision states for confluent RP. Possible values include: 'Accepted', 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
    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 *OrganizationResourcePropertiesOfferDetail `json:"offerDetail,omitempty"`
    // UserDetail - Subscriber detail
    UserDetail *OrganizationResourcePropertiesUserDetail `json:"userDetail,omitempty"`
}

func (OrganizationResourceProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for OrganizationResourceProperties.

type OrganizationResourcePropertiesModel

OrganizationResourcePropertiesModel organization resource properties

type OrganizationResourcePropertiesModel struct {
    // CreatedTime - READ-ONLY; The creation time of the resource.
    CreatedTime *date.Time `json:"createdTime,omitempty"`
    // ProvisioningState - Provision states for confluent RP. Possible values include: 'Accepted', 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled', 'Deleted', 'NotSpecified'
    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 *OrganizationResourcePropertiesOfferDetail `json:"offerDetail,omitempty"`
    // UserDetail - Subscriber detail
    UserDetail *OrganizationResourcePropertiesUserDetail `json:"userDetail,omitempty"`
}

func (OrganizationResourcePropertiesModel) MarshalJSON

func (orpm OrganizationResourcePropertiesModel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OrganizationResourcePropertiesModel.

type OrganizationResourcePropertiesOfferDetail

OrganizationResourcePropertiesOfferDetail confluent offer detail

type OrganizationResourcePropertiesOfferDetail 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"`
}

type OrganizationResourcePropertiesUserDetail

OrganizationResourcePropertiesUserDetail subscriber detail

type OrganizationResourcePropertiesUserDetail 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"`
}

type OrganizationResourceUpdate

OrganizationResourceUpdate organization Resource update

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

func (OrganizationResourceUpdate) MarshalJSON

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

MarshalJSON is the custom marshaler for OrganizationResourceUpdate.

type ProvisionState

ProvisionState enumerates the values for provision state.

type ProvisionState string
const (
    // Accepted ...
    Accepted ProvisionState = "Accepted"
    // Canceled ...
    Canceled ProvisionState = "Canceled"
    // Creating ...
    Creating ProvisionState = "Creating"
    // Deleted ...
    Deleted ProvisionState = "Deleted"
    // Deleting ...
    Deleting ProvisionState = "Deleting"
    // Failed ...
    Failed ProvisionState = "Failed"
    // NotSpecified ...
    NotSpecified ProvisionState = "NotSpecified"
    // Succeeded ...
    Succeeded ProvisionState = "Succeeded"
    // Updating ...
    Updating ProvisionState = "Updating"
)

func PossibleProvisionStateValues

func PossibleProvisionStateValues() []ProvisionState

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

type ResourceProviderDefaultErrorResponse

ResourceProviderDefaultErrorResponse default error response for resource provider

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

func (ResourceProviderDefaultErrorResponse) MarshalJSON

func (rpder ResourceProviderDefaultErrorResponse) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceProviderDefaultErrorResponse.

type SaaSOfferStatus

SaaSOfferStatus enumerates the values for saa s offer status.

type SaaSOfferStatus string
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 UserDetail

UserDetail subscriber detail

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"`
}

Subdirectories

Name Synopsis
..
confluentapi Deprecated: Please note, this package has been deprecated.