azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/managedservices/mgmt/2019-04-01/managedservices Index | Files | Directories

package managedservices

import "github.com/Azure/azure-sdk-for-go/services/preview/managedservices/mgmt/2019-04-01/managedservices"

Package managedservices implements the Azure ARM Managedservices service API version 2019-04-01-preview.

Specification for ManagedServices.

Index

Package Files

client.go models.go operations.go registrationassignments.go registrationdefinitions.go version.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type Authorization Uses

type Authorization struct {
    // PrincipalID - Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription
    PrincipalID *string `json:"principalId,omitempty"`
    // RoleDefinitionID - The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role.
    RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`
}

Authorization authorization tuple containing principal Id (of user/service principal/security group) and role definition id.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI string
}

BaseClient is the base client for Managedservices.

func New Uses

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type ErrorResponse Uses

type ErrorResponse struct {
    // Error - READ-ONLY; Error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message.
    Error *ErrorResponseError `json:"error,omitempty"`
}

ErrorResponse error response.

type ErrorResponseError Uses

type ErrorResponseError struct {
    // Code - Error code.
    Code *string `json:"code,omitempty"`
    // Message - Error message indicating why the operation failed.
    Message *string `json:"message,omitempty"`
}

ErrorResponseError error response indicates Azure Resource Manager is not able to process the incoming request. The reason is provided in the error message.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - READ-ONLY; The object that represents the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation object that describes a single Microsoft.ManagedServices operation.

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - Service provider: Microsoft.ManagedServices
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed: Registration definition, registration assignment etc.
    Resource *string `json:"resource,omitempty"`
    // Operation - Operation type: Read, write, delete, etc.
    Operation *string `json:"operation,omitempty"`
    // Description - Description of the operation.
    Description *string `json:"description,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationList Uses

type OperationList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of Microsoft.ManagedServices operations.
    Value *[]Operation `json:"value,omitempty"`
}

OperationList list of the operations.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the specification for ManagedServices.

func NewOperationsClient Uses

func NewOperationsClient() OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationList, err error)

List gets a list of the operations.

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error)

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

func (OperationsClient) ListSender Uses

func (client OperationsClient) 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 Plan Uses

type Plan struct {
    // Name - The plan name.
    Name *string `json:"name,omitempty"`
    // Publisher - The publisher ID.
    Publisher *string `json:"publisher,omitempty"`
    // Product - The product code.
    Product *string `json:"product,omitempty"`
    // Version - The plan's version.
    Version *string `json:"version,omitempty"`
}

Plan plan details for the managed services.

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Accepted ...
    Accepted ProvisioningState = "Accepted"
    // Canceled ...
    Canceled ProvisioningState = "Canceled"
    // Created ...
    Created ProvisioningState = "Created"
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Deleted ...
    Deleted ProvisioningState = "Deleted"
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // NotSpecified ...
    NotSpecified ProvisioningState = "NotSpecified"
    // Ready ...
    Ready ProvisioningState = "Ready"
    // Running ...
    Running ProvisioningState = "Running"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Updating ...
    Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type RegistrationAssignment Uses

type RegistrationAssignment struct {
    autorest.Response `json:"-"`
    // Properties - Properties of a registration assignment.
    Properties *RegistrationAssignmentProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The fully qualified path of the registration assignment.
    ID  *string `json:"id,omitempty"`
    // Type - READ-ONLY; Type of the resource.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Name of the registration assignment.
    Name *string `json:"name,omitempty"`
}

RegistrationAssignment registration assignment.

type RegistrationAssignmentList Uses

type RegistrationAssignmentList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of registration assignments.
    Value *[]RegistrationAssignment `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to next page of registration assignments.
    NextLink *string `json:"nextLink,omitempty"`
}

RegistrationAssignmentList list of registration assignments.

func (RegistrationAssignmentList) IsEmpty Uses

func (ral RegistrationAssignmentList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RegistrationAssignmentListIterator Uses

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

RegistrationAssignmentListIterator provides access to a complete listing of RegistrationAssignment values.

func NewRegistrationAssignmentListIterator Uses

func NewRegistrationAssignmentListIterator(page RegistrationAssignmentListPage) RegistrationAssignmentListIterator

Creates a new instance of the RegistrationAssignmentListIterator type.

func (*RegistrationAssignmentListIterator) Next Uses

func (iter *RegistrationAssignmentListIterator) 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 (*RegistrationAssignmentListIterator) NextWithContext Uses

func (iter *RegistrationAssignmentListIterator) 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 (RegistrationAssignmentListIterator) NotDone Uses

func (iter RegistrationAssignmentListIterator) NotDone() bool

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

func (RegistrationAssignmentListIterator) Response Uses

func (iter RegistrationAssignmentListIterator) Response() RegistrationAssignmentList

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

func (RegistrationAssignmentListIterator) Value Uses

func (iter RegistrationAssignmentListIterator) Value() RegistrationAssignment

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

type RegistrationAssignmentListPage Uses

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

RegistrationAssignmentListPage contains a page of RegistrationAssignment values.

func NewRegistrationAssignmentListPage Uses

func NewRegistrationAssignmentListPage(getNextPage func(context.Context, RegistrationAssignmentList) (RegistrationAssignmentList, error)) RegistrationAssignmentListPage

Creates a new instance of the RegistrationAssignmentListPage type.

func (*RegistrationAssignmentListPage) Next Uses

func (page *RegistrationAssignmentListPage) 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 (*RegistrationAssignmentListPage) NextWithContext Uses

func (page *RegistrationAssignmentListPage) 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 (RegistrationAssignmentListPage) NotDone Uses

func (page RegistrationAssignmentListPage) NotDone() bool

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

func (RegistrationAssignmentListPage) Response Uses

func (page RegistrationAssignmentListPage) Response() RegistrationAssignmentList

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

func (RegistrationAssignmentListPage) Values Uses

func (page RegistrationAssignmentListPage) Values() []RegistrationAssignment

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

type RegistrationAssignmentProperties Uses

type RegistrationAssignmentProperties struct {
    // RegistrationDefinitionID - Fully qualified path of the registration definition.
    RegistrationDefinitionID *string `json:"registrationDefinitionId,omitempty"`
    // ProvisioningState - READ-ONLY; Current state of the registration assignment. Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // RegistrationDefinition - READ-ONLY; Registration definition inside registration assignment.
    RegistrationDefinition *RegistrationAssignmentPropertiesRegistrationDefinition `json:"registrationDefinition,omitempty"`
}

RegistrationAssignmentProperties properties of a registration assignment.

type RegistrationAssignmentPropertiesRegistrationDefinition Uses

type RegistrationAssignmentPropertiesRegistrationDefinition struct {
    // Properties - Properties of registration definition inside registration assignment.
    Properties *RegistrationAssignmentPropertiesRegistrationDefinitionProperties `json:"properties,omitempty"`
    // Plan - Plan details for the managed services.
    Plan *Plan `json:"plan,omitempty"`
    // ID - READ-ONLY; Fully qualified path of the registration definition.
    ID  *string `json:"id,omitempty"`
    // Type - READ-ONLY; Type of the resource (Microsoft.ManagedServices/registrationDefinitions).
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Name of the registration definition.
    Name *string `json:"name,omitempty"`
}

RegistrationAssignmentPropertiesRegistrationDefinition registration definition inside registration assignment.

type RegistrationAssignmentPropertiesRegistrationDefinitionProperties Uses

type RegistrationAssignmentPropertiesRegistrationDefinitionProperties struct {
    // Description - Description of the registration definition.
    Description *string `json:"description,omitempty"`
    // Authorizations - Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role.
    Authorizations *[]Authorization `json:"authorizations,omitempty"`
    // RegistrationDefinitionName - Name of the registration definition.
    RegistrationDefinitionName *string `json:"registrationDefinitionName,omitempty"`
    // ProvisioningState - Current state of the registration definition. Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // ManageeTenantID - Id of the home tenant.
    ManageeTenantID *string `json:"manageeTenantId,omitempty"`
    // ManageeTenantName - Name of the home tenant.
    ManageeTenantName *string `json:"manageeTenantName,omitempty"`
    // ManagedByTenantID - Id of the managedBy tenant.
    ManagedByTenantID *string `json:"managedByTenantId,omitempty"`
    // ManagedByTenantName - Name of the managedBy tenant.
    ManagedByTenantName *string `json:"managedByTenantName,omitempty"`
}

RegistrationAssignmentPropertiesRegistrationDefinitionProperties properties of registration definition inside registration assignment.

type RegistrationAssignmentsClient Uses

type RegistrationAssignmentsClient struct {
    BaseClient
}

RegistrationAssignmentsClient is the specification for ManagedServices.

func NewRegistrationAssignmentsClient Uses

func NewRegistrationAssignmentsClient() RegistrationAssignmentsClient

NewRegistrationAssignmentsClient creates an instance of the RegistrationAssignmentsClient client.

func NewRegistrationAssignmentsClientWithBaseURI Uses

func NewRegistrationAssignmentsClientWithBaseURI(baseURI string) RegistrationAssignmentsClient

NewRegistrationAssignmentsClientWithBaseURI creates an instance of the RegistrationAssignmentsClient client.

func (RegistrationAssignmentsClient) CreateOrUpdate Uses

func (client RegistrationAssignmentsClient) CreateOrUpdate(ctx context.Context, scope string, registrationAssignmentID string, requestBody RegistrationAssignment) (result RegistrationAssignmentsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a registration assignment. Parameters: scope - scope of the resource. registrationAssignmentID - guid of the registration assignment. requestBody - the parameters required to create new registration assignment.

func (RegistrationAssignmentsClient) CreateOrUpdatePreparer Uses

func (client RegistrationAssignmentsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, registrationAssignmentID string, requestBody RegistrationAssignment) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RegistrationAssignmentsClient) CreateOrUpdateResponder Uses

func (client RegistrationAssignmentsClient) CreateOrUpdateResponder(resp *http.Response) (result RegistrationAssignment, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RegistrationAssignmentsClient) CreateOrUpdateSender Uses

func (client RegistrationAssignmentsClient) CreateOrUpdateSender(req *http.Request) (future RegistrationAssignmentsCreateOrUpdateFuture, err error)

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

func (RegistrationAssignmentsClient) Delete Uses

func (client RegistrationAssignmentsClient) Delete(ctx context.Context, scope string, registrationAssignmentID string) (result RegistrationAssignmentsDeleteFuture, err error)

Delete deletes the specified registration assignment. Parameters: scope - scope of the resource. registrationAssignmentID - guid of the registration assignment.

func (RegistrationAssignmentsClient) DeletePreparer Uses

func (client RegistrationAssignmentsClient) DeletePreparer(ctx context.Context, scope string, registrationAssignmentID string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RegistrationAssignmentsClient) DeleteResponder Uses

func (client RegistrationAssignmentsClient) 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 (RegistrationAssignmentsClient) DeleteSender Uses

func (client RegistrationAssignmentsClient) DeleteSender(req *http.Request) (future RegistrationAssignmentsDeleteFuture, err error)

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

func (RegistrationAssignmentsClient) Get Uses

func (client RegistrationAssignmentsClient) Get(ctx context.Context, scope string, registrationAssignmentID string, expandRegistrationDefinition *bool) (result RegistrationAssignment, err error)

Get gets the details of specified registration assignment. Parameters: scope - scope of the resource. registrationAssignmentID - guid of the registration assignment. expandRegistrationDefinition - tells whether to return registration definition details also along with registration assignment details.

func (RegistrationAssignmentsClient) GetPreparer Uses

func (client RegistrationAssignmentsClient) GetPreparer(ctx context.Context, scope string, registrationAssignmentID string, expandRegistrationDefinition *bool) (*http.Request, error)

GetPreparer prepares the Get request.

func (RegistrationAssignmentsClient) GetResponder Uses

func (client RegistrationAssignmentsClient) GetResponder(resp *http.Response) (result RegistrationAssignment, err error)

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

func (RegistrationAssignmentsClient) GetSender Uses

func (client RegistrationAssignmentsClient) 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 (RegistrationAssignmentsClient) List Uses

func (client RegistrationAssignmentsClient) List(ctx context.Context, scope string, expandRegistrationDefinition *bool) (result RegistrationAssignmentListPage, err error)

List gets a list of the registration assignments. Parameters: scope - scope of the resource. expandRegistrationDefinition - tells whether to return registration definition details also along with registration assignment details.

func (RegistrationAssignmentsClient) ListComplete Uses

func (client RegistrationAssignmentsClient) ListComplete(ctx context.Context, scope string, expandRegistrationDefinition *bool) (result RegistrationAssignmentListIterator, err error)

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

func (RegistrationAssignmentsClient) ListPreparer Uses

func (client RegistrationAssignmentsClient) ListPreparer(ctx context.Context, scope string, expandRegistrationDefinition *bool) (*http.Request, error)

ListPreparer prepares the List request.

func (RegistrationAssignmentsClient) ListResponder Uses

func (client RegistrationAssignmentsClient) ListResponder(resp *http.Response) (result RegistrationAssignmentList, err error)

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

func (RegistrationAssignmentsClient) ListSender Uses

func (client RegistrationAssignmentsClient) 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 RegistrationAssignmentsCreateOrUpdateFuture Uses

type RegistrationAssignmentsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*RegistrationAssignmentsCreateOrUpdateFuture) Result Uses

func (future *RegistrationAssignmentsCreateOrUpdateFuture) Result(client RegistrationAssignmentsClient) (ra RegistrationAssignment, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RegistrationAssignmentsDeleteFuture Uses

type RegistrationAssignmentsDeleteFuture struct {
    azure.Future
}

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

func (*RegistrationAssignmentsDeleteFuture) Result Uses

func (future *RegistrationAssignmentsDeleteFuture) Result(client RegistrationAssignmentsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RegistrationDefinition Uses

type RegistrationDefinition struct {
    autorest.Response `json:"-"`
    // Properties - Properties of a registration definition.
    Properties *RegistrationDefinitionProperties `json:"properties,omitempty"`
    // Plan - Plan details for the managed services.
    Plan *Plan `json:"plan,omitempty"`
    // ID - READ-ONLY; Fully qualified path of the registration definition.
    ID  *string `json:"id,omitempty"`
    // Type - READ-ONLY; Type of the resource.
    Type *string `json:"type,omitempty"`
    // Name - READ-ONLY; Name of the registration definition.
    Name *string `json:"name,omitempty"`
}

RegistrationDefinition registration definition.

type RegistrationDefinitionList Uses

type RegistrationDefinitionList struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of registration definitions.
    Value *[]RegistrationDefinition `json:"value,omitempty"`
    // NextLink - READ-ONLY; Link to next page of registration definitions.
    NextLink *string `json:"nextLink,omitempty"`
}

RegistrationDefinitionList list of registration definitions.

func (RegistrationDefinitionList) IsEmpty Uses

func (rdl RegistrationDefinitionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RegistrationDefinitionListIterator Uses

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

RegistrationDefinitionListIterator provides access to a complete listing of RegistrationDefinition values.

func NewRegistrationDefinitionListIterator Uses

func NewRegistrationDefinitionListIterator(page RegistrationDefinitionListPage) RegistrationDefinitionListIterator

Creates a new instance of the RegistrationDefinitionListIterator type.

func (*RegistrationDefinitionListIterator) Next Uses

func (iter *RegistrationDefinitionListIterator) 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 (*RegistrationDefinitionListIterator) NextWithContext Uses

func (iter *RegistrationDefinitionListIterator) 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 (RegistrationDefinitionListIterator) NotDone Uses

func (iter RegistrationDefinitionListIterator) NotDone() bool

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

func (RegistrationDefinitionListIterator) Response Uses

func (iter RegistrationDefinitionListIterator) Response() RegistrationDefinitionList

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

func (RegistrationDefinitionListIterator) Value Uses

func (iter RegistrationDefinitionListIterator) Value() RegistrationDefinition

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

type RegistrationDefinitionListPage Uses

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

RegistrationDefinitionListPage contains a page of RegistrationDefinition values.

func NewRegistrationDefinitionListPage Uses

func NewRegistrationDefinitionListPage(getNextPage func(context.Context, RegistrationDefinitionList) (RegistrationDefinitionList, error)) RegistrationDefinitionListPage

Creates a new instance of the RegistrationDefinitionListPage type.

func (*RegistrationDefinitionListPage) Next Uses

func (page *RegistrationDefinitionListPage) 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 (*RegistrationDefinitionListPage) NextWithContext Uses

func (page *RegistrationDefinitionListPage) 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 (RegistrationDefinitionListPage) NotDone Uses

func (page RegistrationDefinitionListPage) NotDone() bool

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

func (RegistrationDefinitionListPage) Response Uses

func (page RegistrationDefinitionListPage) Response() RegistrationDefinitionList

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

func (RegistrationDefinitionListPage) Values Uses

func (page RegistrationDefinitionListPage) Values() []RegistrationDefinition

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

type RegistrationDefinitionProperties Uses

type RegistrationDefinitionProperties struct {
    // Description - Description of the registration definition.
    Description *string `json:"description,omitempty"`
    // Authorizations - Authorization tuple containing principal id of the user/security group or service principal and id of the build-in role.
    Authorizations *[]Authorization `json:"authorizations,omitempty"`
    // RegistrationDefinitionName - Name of the registration definition.
    RegistrationDefinitionName *string `json:"registrationDefinitionName,omitempty"`
    // ManagedByTenantID - Id of the managedBy tenant.
    ManagedByTenantID *string `json:"managedByTenantId,omitempty"`
    // ProvisioningState - READ-ONLY; Current state of the registration definition. Possible values include: 'NotSpecified', 'Accepted', 'Running', 'Ready', 'Creating', 'Created', 'Deleting', 'Deleted', 'Canceled', 'Failed', 'Succeeded', 'Updating'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // ManagedByTenantName - READ-ONLY; Name of the managedBy tenant.
    ManagedByTenantName *string `json:"managedByTenantName,omitempty"`
}

RegistrationDefinitionProperties properties of a registration definition.

type RegistrationDefinitionsClient Uses

type RegistrationDefinitionsClient struct {
    BaseClient
}

RegistrationDefinitionsClient is the specification for ManagedServices.

func NewRegistrationDefinitionsClient Uses

func NewRegistrationDefinitionsClient() RegistrationDefinitionsClient

NewRegistrationDefinitionsClient creates an instance of the RegistrationDefinitionsClient client.

func NewRegistrationDefinitionsClientWithBaseURI Uses

func NewRegistrationDefinitionsClientWithBaseURI(baseURI string) RegistrationDefinitionsClient

NewRegistrationDefinitionsClientWithBaseURI creates an instance of the RegistrationDefinitionsClient client.

func (RegistrationDefinitionsClient) CreateOrUpdate Uses

func (client RegistrationDefinitionsClient) CreateOrUpdate(ctx context.Context, registrationDefinitionID string, scope string, requestBody RegistrationDefinition) (result RegistrationDefinitionsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a registration definition. Parameters: registrationDefinitionID - guid of the registration definition. scope - scope of the resource. requestBody - the parameters required to create new registration definition.

func (RegistrationDefinitionsClient) CreateOrUpdatePreparer Uses

func (client RegistrationDefinitionsClient) CreateOrUpdatePreparer(ctx context.Context, registrationDefinitionID string, scope string, requestBody RegistrationDefinition) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (RegistrationDefinitionsClient) CreateOrUpdateResponder Uses

func (client RegistrationDefinitionsClient) CreateOrUpdateResponder(resp *http.Response) (result RegistrationDefinition, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (RegistrationDefinitionsClient) CreateOrUpdateSender Uses

func (client RegistrationDefinitionsClient) CreateOrUpdateSender(req *http.Request) (future RegistrationDefinitionsCreateOrUpdateFuture, err error)

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

func (RegistrationDefinitionsClient) Delete Uses

func (client RegistrationDefinitionsClient) Delete(ctx context.Context, registrationDefinitionID string, scope string) (result autorest.Response, err error)

Delete deletes the registration definition. Parameters: registrationDefinitionID - guid of the registration definition. scope - scope of the resource.

func (RegistrationDefinitionsClient) DeletePreparer Uses

func (client RegistrationDefinitionsClient) DeletePreparer(ctx context.Context, registrationDefinitionID string, scope string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (RegistrationDefinitionsClient) DeleteResponder Uses

func (client RegistrationDefinitionsClient) 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 (RegistrationDefinitionsClient) DeleteSender Uses

func (client RegistrationDefinitionsClient) DeleteSender(req *http.Request) (*http.Response, error)

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

func (RegistrationDefinitionsClient) Get Uses

func (client RegistrationDefinitionsClient) Get(ctx context.Context, scope string, registrationDefinitionID string) (result RegistrationDefinition, err error)

Get gets the registration definition details. Parameters: scope - scope of the resource. registrationDefinitionID - guid of the registration definition.

func (RegistrationDefinitionsClient) GetPreparer Uses

func (client RegistrationDefinitionsClient) GetPreparer(ctx context.Context, scope string, registrationDefinitionID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (RegistrationDefinitionsClient) GetResponder Uses

func (client RegistrationDefinitionsClient) GetResponder(resp *http.Response) (result RegistrationDefinition, err error)

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

func (RegistrationDefinitionsClient) GetSender Uses

func (client RegistrationDefinitionsClient) 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 (RegistrationDefinitionsClient) List Uses

func (client RegistrationDefinitionsClient) List(ctx context.Context, scope string) (result RegistrationDefinitionListPage, err error)

List gets a list of the registration definitions. Parameters: scope - scope of the resource.

func (RegistrationDefinitionsClient) ListComplete Uses

func (client RegistrationDefinitionsClient) ListComplete(ctx context.Context, scope string) (result RegistrationDefinitionListIterator, err error)

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

func (RegistrationDefinitionsClient) ListPreparer Uses

func (client RegistrationDefinitionsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error)

ListPreparer prepares the List request.

func (RegistrationDefinitionsClient) ListResponder Uses

func (client RegistrationDefinitionsClient) ListResponder(resp *http.Response) (result RegistrationDefinitionList, err error)

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

func (RegistrationDefinitionsClient) ListSender Uses

func (client RegistrationDefinitionsClient) 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 RegistrationDefinitionsCreateOrUpdateFuture Uses

type RegistrationDefinitionsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*RegistrationDefinitionsCreateOrUpdateFuture) Result Uses

func (future *RegistrationDefinitionsCreateOrUpdateFuture) Result(client RegistrationDefinitionsClient) (rd RegistrationDefinition, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

Directories

PathSynopsis
managedservicesapi

Package managedservices imports 8 packages (graph) and is imported by 3 packages. Updated 2019-08-10. Refresh now. Tools for package owners.