azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/healthcareapis/mgmt/2018-08-20-preview/healthcareapis Index | Files | Directories

package healthcareapis

import "github.com/Azure/azure-sdk-for-go/services/preview/healthcareapis/mgmt/2018-08-20-preview/healthcareapis"

Package healthcareapis implements the Azure ARM Healthcareapis service API version 2018-08-20-preview.

Azure Healthcare APIs Client

Index

Package Files

client.go models.go operationresults.go operations.go services.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Healthcareapis
    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 BaseClient Uses

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

BaseClient is the base client for Healthcareapis.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type CheckNameAvailabilityParameters Uses

type CheckNameAvailabilityParameters struct {
    // Name - The name of the service instance to check.
    Name *string `json:"name,omitempty"`
    // Type - The fully qualified resource type which includes provider namespace.
    Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityParameters input values.

type ErrorDetails Uses

type ErrorDetails struct {
    // Error - Object containing error details.
    Error *ErrorDetailsInternal `json:"error,omitempty"`
}

ErrorDetails error details.

type ErrorDetailsInternal Uses

type ErrorDetailsInternal struct {
    // Code - READ-ONLY; The error code.
    Code *string `json:"code,omitempty"`
    // Message - READ-ONLY; The error message.
    Message *string `json:"message,omitempty"`
    // Target - READ-ONLY; The target of the particular error.
    Target *string `json:"target,omitempty"`
}

ErrorDetailsInternal error details.

type Kind Uses

type Kind string

Kind enumerates the values for kind.

const (
    // Fhir ...
    Fhir Kind = "fhir"
    // FhirR4 ...
    FhirR4 Kind = "fhir-R4"
    // FhirStu3 ...
    FhirStu3 Kind = "fhir-Stu3"
)

func PossibleKindValues Uses

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type Operation Uses

type Operation struct {
    // Name - READ-ONLY; Operation name: {provider}/{resource}/{read | write | action | delete}
    Name *string `json:"name,omitempty"`
    // Origin - READ-ONLY; Default value is 'user,system'.
    Origin *string `json:"origin,omitempty"`
    // Display - The information displayed about the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation service REST API operation.

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - READ-ONLY; Service provider: Microsoft.HealthcareApis
    Provider *string `json:"provider,omitempty"`
    // Resource - READ-ONLY; Resource Type: Services
    Resource *string `json:"resource,omitempty"`
    // Operation - READ-ONLY; Name of the operation
    Operation *string `json:"operation,omitempty"`
    // Description - READ-ONLY; Friendly description for the operation,
    Description *string `json:"description,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of service description objects.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - READ-ONLY; A list of service operations supported by the Microsoft.HealthcareApis resource provider.
    Value *[]Operation `json:"value,omitempty"`
}

OperationListResult a list of service operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

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 Uses

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 Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

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

type OperationResultStatus Uses

type OperationResultStatus string

OperationResultStatus enumerates the values for operation result status.

const (
    // Canceled ...
    Canceled OperationResultStatus = "Canceled"
    // Failed ...
    Failed OperationResultStatus = "Failed"
    // Requested ...
    Requested OperationResultStatus = "Requested"
    // Running ...
    Running OperationResultStatus = "Running"
    // Succeeded ...
    Succeeded OperationResultStatus = "Succeeded"
)

func PossibleOperationResultStatusValues Uses

func PossibleOperationResultStatusValues() []OperationResultStatus

PossibleOperationResultStatusValues returns an array of possible values for the OperationResultStatus const type.

type OperationResultsClient Uses

type OperationResultsClient struct {
    BaseClient
}

OperationResultsClient is the azure Healthcare APIs Client

func NewOperationResultsClient Uses

func NewOperationResultsClient(subscriptionID string) OperationResultsClient

NewOperationResultsClient creates an instance of the OperationResultsClient client.

func NewOperationResultsClientWithBaseURI Uses

func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient

NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client.

func (OperationResultsClient) Get Uses

func (client OperationResultsClient) Get(ctx context.Context, locationName string, operationResultID string) (result SetObject, err error)

Get get the operation result for a long running operation. Parameters: locationName - the location of the operation. operationResultID - the ID of the operation result to get.

func (OperationResultsClient) GetPreparer Uses

func (client OperationResultsClient) GetPreparer(ctx context.Context, locationName string, operationResultID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationResultsClient) GetResponder Uses

func (client OperationResultsClient) GetResponder(resp *http.Response) (result SetObject, err error)

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

func (OperationResultsClient) GetSender Uses

func (client OperationResultsClient) 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.

type OperationResultsDescription Uses

type OperationResultsDescription struct {
    // ID - READ-ONLY; The ID of the operation returned.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the operation result.
    Name *string `json:"name,omitempty"`
    // Status - READ-ONLY; The status of the operation being performed. Possible values include: 'Canceled', 'Succeeded', 'Failed', 'Requested', 'Running'
    Status OperationResultStatus `json:"status,omitempty"`
    // StartTime - READ-ONLY; The time that the operation was started.
    StartTime *string `json:"startTime,omitempty"`
    // Properties - Additional properties of the operation result.
    Properties interface{} `json:"properties,omitempty"`
}

OperationResultsDescription the properties indicating the operation result of an operation on a service.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure Healthcare APIs Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

List lists all of the available Healthcare service REST API operations.

func (OperationsClient) ListComplete Uses

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

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

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 OperationListResult, 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 ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // ProvisioningStateAccepted ...
    ProvisioningStateAccepted ProvisioningState = "Accepted"
    // ProvisioningStateCanceled ...
    ProvisioningStateCanceled ProvisioningState = "Canceled"
    // ProvisioningStateCreating ...
    ProvisioningStateCreating ProvisioningState = "Creating"
    // ProvisioningStateDeleting ...
    ProvisioningStateDeleting ProvisioningState = "Deleting"
    // ProvisioningStateDeprovisioned ...
    ProvisioningStateDeprovisioned ProvisioningState = "Deprovisioned"
    // ProvisioningStateFailed ...
    ProvisioningStateFailed ProvisioningState = "Failed"
    // ProvisioningStateSucceeded ...
    ProvisioningStateSucceeded ProvisioningState = "Succeeded"
    // ProvisioningStateUpdating ...
    ProvisioningStateUpdating ProvisioningState = "Updating"
    // ProvisioningStateVerifying ...
    ProvisioningStateVerifying ProvisioningState = "Verifying"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

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

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; The resource identifier.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The resource type.
    Type *string `json:"type,omitempty"`
    // Kind - The kind of the service. Valid values are: fhir, fhir-Stu3 and fhir-R4. Possible values include: 'Fhir', 'FhirStu3', 'FhirR4'
    Kind Kind `json:"kind,omitempty"`
    // Location - The resource location.
    Location *string `json:"location,omitempty"`
    // Tags - The resource tags.
    Tags map[string]*string `json:"tags"`
    // Etag - An etag associated with the resource, used for optimistic concurrency when editing it.
    Etag *string `json:"etag,omitempty"`
}

Resource the common properties of a service.

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ServiceAccessPolicyEntry Uses

type ServiceAccessPolicyEntry struct {
    // ObjectID - An object ID that is allowed access to the FHIR service.
    ObjectID *string `json:"objectId,omitempty"`
}

ServiceAccessPolicyEntry an access policy entry.

type ServiceAuthenticationConfigurationInfo Uses

type ServiceAuthenticationConfigurationInfo struct {
    // Authority - The authority url for the service
    Authority *string `json:"authority,omitempty"`
    // Audience - The audience url for the service
    Audience *string `json:"audience,omitempty"`
    // SmartProxyEnabled - If the SMART on FHIR proxy is enabled
    SmartProxyEnabled *bool `json:"smartProxyEnabled,omitempty"`
}

ServiceAuthenticationConfigurationInfo authentication configuration information

type ServiceCorsConfigurationInfo Uses

type ServiceCorsConfigurationInfo struct {
    // Origins - The origins to be allowed via CORS.
    Origins *[]string `json:"origins,omitempty"`
    // Headers - The headers to be allowed via CORS.
    Headers *[]string `json:"headers,omitempty"`
    // Methods - The methods to be allowed via CORS.
    Methods *[]string `json:"methods,omitempty"`
    // MaxAge - The max age to be allowed via CORS.
    MaxAge *int32 `json:"maxAge,omitempty"`
    // AllowCredentials - If credentials are allowed via CORS.
    AllowCredentials *bool `json:"allowCredentials,omitempty"`
}

ServiceCorsConfigurationInfo the settings for the CORS configuration of the service instance.

type ServiceCosmosDbConfigurationInfo Uses

type ServiceCosmosDbConfigurationInfo struct {
    // OfferThroughput - The provisioned throughput for the backing database.
    OfferThroughput *int32 `json:"offerThroughput,omitempty"`
}

ServiceCosmosDbConfigurationInfo the settings for the Cosmos DB database backing the service.

type ServiceNameUnavailabilityReason Uses

type ServiceNameUnavailabilityReason string

ServiceNameUnavailabilityReason enumerates the values for service name unavailability reason.

const (
    // AlreadyExists ...
    AlreadyExists ServiceNameUnavailabilityReason = "AlreadyExists"
    // Invalid ...
    Invalid ServiceNameUnavailabilityReason = "Invalid"
)

func PossibleServiceNameUnavailabilityReasonValues Uses

func PossibleServiceNameUnavailabilityReasonValues() []ServiceNameUnavailabilityReason

PossibleServiceNameUnavailabilityReasonValues returns an array of possible values for the ServiceNameUnavailabilityReason const type.

type ServicesClient Uses

type ServicesClient struct {
    BaseClient
}

ServicesClient is the azure Healthcare APIs Client

func NewServicesClient Uses

func NewServicesClient(subscriptionID string) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI Uses

func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient client.

func (ServicesClient) CheckNameAvailability Uses

func (client ServicesClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityInputs CheckNameAvailabilityParameters) (result ServicesNameAvailabilityInfo, err error)

CheckNameAvailability check if a service instance name is available. Parameters: checkNameAvailabilityInputs - set the name parameter in the CheckNameAvailabilityParameters structure to the name of the service instance to check.

func (ServicesClient) CheckNameAvailabilityPreparer Uses

func (client ServicesClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityInputs CheckNameAvailabilityParameters) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ServicesClient) CheckNameAvailabilityResponder Uses

func (client ServicesClient) CheckNameAvailabilityResponder(resp *http.Response) (result ServicesNameAvailabilityInfo, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (ServicesClient) CheckNameAvailabilitySender Uses

func (client ServicesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (ServicesClient) CreateOrUpdate Uses

func (client ServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, serviceDescription ServicesDescription) (result ServicesCreateOrUpdateFuture, err error)

CreateOrUpdate create or update the metadata of a service instance. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance. serviceDescription - the service instance metadata.

func (ServicesClient) CreateOrUpdatePreparer Uses

func (client ServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, serviceDescription ServicesDescription) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServicesClient) CreateOrUpdateResponder Uses

func (client ServicesClient) CreateOrUpdateResponder(resp *http.Response) (result ServicesDescription, err error)

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

func (ServicesClient) CreateOrUpdateSender Uses

func (client ServicesClient) CreateOrUpdateSender(req *http.Request) (future ServicesCreateOrUpdateFuture, err error)

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

func (ServicesClient) Delete Uses

func (client ServicesClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result ServicesDeleteFuture, err error)

Delete delete a service instance. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance.

func (ServicesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ServicesClient) DeleteResponder Uses

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

func (client ServicesClient) DeleteSender(req *http.Request) (future ServicesDeleteFuture, err error)

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

func (ServicesClient) Get Uses

func (client ServicesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result ServicesDescription, err error)

Get get the metadata of a service instance. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance.

func (ServicesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder Uses

func (client ServicesClient) GetResponder(resp *http.Response) (result ServicesDescription, err error)

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

func (ServicesClient) GetSender Uses

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

func (client ServicesClient) List(ctx context.Context) (result ServicesDescriptionListResultPage, err error)

List get all the service instances in a subscription.

func (ServicesClient) ListByResourceGroup Uses

func (client ServicesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ServicesDescriptionListResultPage, err error)

ListByResourceGroup get all the service instances in a resource group. Parameters: resourceGroupName - the name of the resource group that contains the service instance.

func (ServicesClient) ListByResourceGroupComplete Uses

func (client ServicesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ServicesDescriptionListResultIterator, err error)

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

func (ServicesClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServicesClient) ListByResourceGroupResponder Uses

func (client ServicesClient) ListByResourceGroupResponder(resp *http.Response) (result ServicesDescriptionListResult, err error)

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

func (ServicesClient) ListByResourceGroupSender Uses

func (client ServicesClient) 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 (ServicesClient) ListComplete Uses

func (client ServicesClient) ListComplete(ctx context.Context) (result ServicesDescriptionListResultIterator, err error)

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

func (ServicesClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (ServicesClient) ListResponder Uses

func (client ServicesClient) ListResponder(resp *http.Response) (result ServicesDescriptionListResult, err error)

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

func (ServicesClient) ListSender Uses

func (client ServicesClient) 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.

func (ServicesClient) Update Uses

func (client ServicesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, servicePatchDescription ServicesPatchDescription) (result ServicesUpdateFuture, err error)

Update update the metadata of a service instance. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance. servicePatchDescription - the service instance metadata and security metadata.

func (ServicesClient) UpdatePreparer Uses

func (client ServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, servicePatchDescription ServicesPatchDescription) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServicesClient) UpdateResponder Uses

func (client ServicesClient) UpdateResponder(resp *http.Response) (result ServicesDescription, err error)

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

func (ServicesClient) UpdateSender Uses

func (client ServicesClient) UpdateSender(req *http.Request) (future ServicesUpdateFuture, err error)

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

type ServicesCreateOrUpdateFuture Uses

type ServicesCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*ServicesCreateOrUpdateFuture) Result Uses

func (future *ServicesCreateOrUpdateFuture) Result(client ServicesClient) (sd ServicesDescription, err error)

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

type ServicesDeleteFuture Uses

type ServicesDeleteFuture struct {
    azure.Future
}

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

func (*ServicesDeleteFuture) Result Uses

func (future *ServicesDeleteFuture) Result(client ServicesClient) (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 ServicesDescription Uses

type ServicesDescription struct {
    autorest.Response `json:"-"`
    // Properties - The common properties of a service.
    Properties *ServicesProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The resource identifier.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The resource name.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The resource type.
    Type *string `json:"type,omitempty"`
    // Kind - The kind of the service. Valid values are: fhir, fhir-Stu3 and fhir-R4. Possible values include: 'Fhir', 'FhirStu3', 'FhirR4'
    Kind Kind `json:"kind,omitempty"`
    // Location - The resource location.
    Location *string `json:"location,omitempty"`
    // Tags - The resource tags.
    Tags map[string]*string `json:"tags"`
    // Etag - An etag associated with the resource, used for optimistic concurrency when editing it.
    Etag *string `json:"etag,omitempty"`
}

ServicesDescription the description of the service.

func (ServicesDescription) MarshalJSON Uses

func (sd ServicesDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicesDescription.

type ServicesDescriptionListResult Uses

type ServicesDescriptionListResult struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of service description objects.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - A list of service description objects.
    Value *[]ServicesDescription `json:"value,omitempty"`
}

ServicesDescriptionListResult a list of service description objects with a next link.

func (ServicesDescriptionListResult) IsEmpty Uses

func (sdlr ServicesDescriptionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServicesDescriptionListResultIterator Uses

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

ServicesDescriptionListResultIterator provides access to a complete listing of ServicesDescription values.

func NewServicesDescriptionListResultIterator Uses

func NewServicesDescriptionListResultIterator(page ServicesDescriptionListResultPage) ServicesDescriptionListResultIterator

Creates a new instance of the ServicesDescriptionListResultIterator type.

func (*ServicesDescriptionListResultIterator) Next Uses

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

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

func (iter ServicesDescriptionListResultIterator) NotDone() bool

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

func (ServicesDescriptionListResultIterator) Response Uses

func (iter ServicesDescriptionListResultIterator) Response() ServicesDescriptionListResult

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

func (ServicesDescriptionListResultIterator) Value Uses

func (iter ServicesDescriptionListResultIterator) Value() ServicesDescription

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

type ServicesDescriptionListResultPage Uses

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

ServicesDescriptionListResultPage contains a page of ServicesDescription values.

func NewServicesDescriptionListResultPage Uses

func NewServicesDescriptionListResultPage(getNextPage func(context.Context, ServicesDescriptionListResult) (ServicesDescriptionListResult, error)) ServicesDescriptionListResultPage

Creates a new instance of the ServicesDescriptionListResultPage type.

func (*ServicesDescriptionListResultPage) Next Uses

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

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

func (page ServicesDescriptionListResultPage) NotDone() bool

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

func (ServicesDescriptionListResultPage) Response Uses

func (page ServicesDescriptionListResultPage) Response() ServicesDescriptionListResult

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

func (ServicesDescriptionListResultPage) Values Uses

func (page ServicesDescriptionListResultPage) Values() []ServicesDescription

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

type ServicesNameAvailabilityInfo Uses

type ServicesNameAvailabilityInfo struct {
    autorest.Response `json:"-"`
    // NameAvailable - READ-ONLY; The value which indicates whether the provided name is available.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Reason - READ-ONLY; The reason for unavailability. Possible values include: 'Invalid', 'AlreadyExists'
    Reason ServiceNameUnavailabilityReason `json:"reason,omitempty"`
    // Message - The detailed reason message.
    Message *string `json:"message,omitempty"`
}

ServicesNameAvailabilityInfo the properties indicating whether a given service name is available.

type ServicesPatchDescription Uses

type ServicesPatchDescription struct {
    // Tags - Instance tags
    Tags map[string]*string `json:"tags"`
}

ServicesPatchDescription the description of the service.

func (ServicesPatchDescription) MarshalJSON Uses

func (spd ServicesPatchDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicesPatchDescription.

type ServicesProperties Uses

type ServicesProperties struct {
    // ProvisioningState - READ-ONLY; The provisioning state. Possible values include: 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateCreating', 'ProvisioningStateAccepted', 'ProvisioningStateVerifying', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeprovisioned'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // AccessPolicies - The access policies of the service instance.
    AccessPolicies *[]ServiceAccessPolicyEntry `json:"accessPolicies,omitempty"`
    // CosmosDbConfiguration - The settings for the Cosmos DB database backing the service.
    CosmosDbConfiguration *ServiceCosmosDbConfigurationInfo `json:"cosmosDbConfiguration,omitempty"`
    // AuthenticationConfiguration - The authentication configuration for the service instance.
    AuthenticationConfiguration *ServiceAuthenticationConfigurationInfo `json:"authenticationConfiguration,omitempty"`
    // CorsConfiguration - The settings for the CORS configuration of the service instance.
    CorsConfiguration *ServiceCorsConfigurationInfo `json:"corsConfiguration,omitempty"`
}

ServicesProperties the properties of a service instance.

type ServicesUpdateFuture Uses

type ServicesUpdateFuture struct {
    azure.Future
}

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

func (*ServicesUpdateFuture) Result Uses

func (future *ServicesUpdateFuture) Result(client ServicesClient) (sd ServicesDescription, err error)

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

type SetObject Uses

type SetObject struct {
    autorest.Response `json:"-"`
    Value             interface{} `json:"value,omitempty"`
}

SetObject ...

Directories

PathSynopsis
healthcareapisapi

Package healthcareapis imports 9 packages (graph) and is imported by 4 packages. Updated 2019-08-31. Refresh now. Tools for package owners.