healthcareapis

package
v64.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package healthcareapis implements the Azure ARM Healthcareapis service API version 2021-06-01-preview.

Azure Healthcare APIs Client

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type ActionType

type ActionType string

ActionType enumerates the values for action type.

const (
	// ActionTypeInternal ...
	ActionTypeInternal ActionType = "Internal"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns an array of possible values for the ActionType const type.

type AzureEntityResource

type AzureEntityResource struct {
	// Etag - READ-ONLY; Resource Etag.
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

func (AzureEntityResource) MarshalJSON

func (aer AzureEntityResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureEntityResource.

type BaseClient

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

BaseClient is the base client for Healthcareapis.

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 CheckNameAvailabilityParameters

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 CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

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

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

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

type DicomService

type DicomService struct {
	autorest.Response `json:"-"`
	// DicomServiceProperties - Dicom Service configuration.
	*DicomServiceProperties `json:"properties,omitempty"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
}

DicomService the description of Dicom Service

func (DicomService) MarshalJSON

func (ds DicomService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DicomService.

func (*DicomService) UnmarshalJSON

func (ds *DicomService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DicomService struct.

type DicomServiceAuthenticationConfiguration

type DicomServiceAuthenticationConfiguration struct {
	// Authority - READ-ONLY; The authority url for the service
	Authority *string `json:"authority,omitempty"`
	// Audiences - READ-ONLY; The audiences for the service
	Audiences *[]string `json:"audiences,omitempty"`
}

DicomServiceAuthenticationConfiguration authentication configuration information

func (DicomServiceAuthenticationConfiguration) MarshalJSON

func (dsac DicomServiceAuthenticationConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DicomServiceAuthenticationConfiguration.

type DicomServiceCollection

type DicomServiceCollection struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of Dicom Services.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The list of Dicom Services.
	Value *[]DicomService `json:"value,omitempty"`
}

DicomServiceCollection the collection of Dicom Services.

func (DicomServiceCollection) IsEmpty

func (dsc DicomServiceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DicomServiceCollectionIterator

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

DicomServiceCollectionIterator provides access to a complete listing of DicomService values.

func NewDicomServiceCollectionIterator

func NewDicomServiceCollectionIterator(page DicomServiceCollectionPage) DicomServiceCollectionIterator

Creates a new instance of the DicomServiceCollectionIterator type.

func (*DicomServiceCollectionIterator) Next

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

func (*DicomServiceCollectionIterator) NextWithContext

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

func (iter DicomServiceCollectionIterator) NotDone() bool

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

func (DicomServiceCollectionIterator) Response

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

func (DicomServiceCollectionIterator) Value

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

type DicomServiceCollectionPage

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

DicomServiceCollectionPage contains a page of DicomService values.

func NewDicomServiceCollectionPage

Creates a new instance of the DicomServiceCollectionPage type.

func (*DicomServiceCollectionPage) Next

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

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

func (page DicomServiceCollectionPage) NotDone() bool

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

func (DicomServiceCollectionPage) Response

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

func (DicomServiceCollectionPage) Values

func (page DicomServiceCollectionPage) Values() []DicomService

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

type DicomServicePatchResource

type DicomServicePatchResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

DicomServicePatchResource dicom Service patch properties

func (DicomServicePatchResource) MarshalJSON

func (dspr DicomServicePatchResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DicomServicePatchResource.

type DicomServiceProperties

type DicomServiceProperties struct {
	// ProvisioningState - The provisioning state. Possible values include: 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateCreating', 'ProvisioningStateAccepted', 'ProvisioningStateVerifying', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeprovisioned', 'ProvisioningStateMoving', 'ProvisioningStateSuspended', 'ProvisioningStateWarned', 'ProvisioningStateSystemMaintenance'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// AuthenticationConfiguration - Dicom Service authentication configuration.
	AuthenticationConfiguration *DicomServiceAuthenticationConfiguration `json:"authenticationConfiguration,omitempty"`
	// ServiceURL - READ-ONLY; The url of the Dicom Services.
	ServiceURL *string `json:"serviceUrl,omitempty"`
}

DicomServiceProperties dicom Service properties.

func (DicomServiceProperties) MarshalJSON

func (dsp DicomServiceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DicomServiceProperties.

type DicomServicesClient

type DicomServicesClient struct {
	BaseClient
}

DicomServicesClient is the azure Healthcare APIs Client

func NewDicomServicesClient

func NewDicomServicesClient(subscriptionID string) DicomServicesClient

NewDicomServicesClient creates an instance of the DicomServicesClient client.

func NewDicomServicesClientWithBaseURI

func NewDicomServicesClientWithBaseURI(baseURI string, subscriptionID string) DicomServicesClient

NewDicomServicesClientWithBaseURI creates an instance of the DicomServicesClient 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 (DicomServicesClient) CreateOrUpdate

func (client DicomServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, dicomServiceName string, dicomservice DicomService) (result DicomServicesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a DICOM Service resource with the specified parameters. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. dicomServiceName - the name of DICOM Service resource. dicomservice - the parameters for creating or updating a Dicom Service resource.

func (DicomServicesClient) CreateOrUpdatePreparer

func (client DicomServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, dicomServiceName string, dicomservice DicomService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DicomServicesClient) CreateOrUpdateResponder

func (client DicomServicesClient) CreateOrUpdateResponder(resp *http.Response) (result DicomService, err error)

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

func (DicomServicesClient) CreateOrUpdateSender

func (client DicomServicesClient) CreateOrUpdateSender(req *http.Request) (future DicomServicesCreateOrUpdateFuture, err error)

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

func (DicomServicesClient) Delete

func (client DicomServicesClient) Delete(ctx context.Context, resourceGroupName string, dicomServiceName string, workspaceName string) (result DicomServicesDeleteFuture, err error)

Delete deletes a DICOM Service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. dicomServiceName - the name of DICOM Service resource. workspaceName - the name of workspace resource.

func (DicomServicesClient) DeletePreparer

func (client DicomServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, dicomServiceName string, workspaceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DicomServicesClient) DeleteResponder

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

func (client DicomServicesClient) DeleteSender(req *http.Request) (future DicomServicesDeleteFuture, err error)

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

func (DicomServicesClient) Get

func (client DicomServicesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, dicomServiceName string) (result DicomService, err error)

Get gets the properties of the specified DICOM Service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. dicomServiceName - the name of DICOM Service resource.

func (DicomServicesClient) GetPreparer

func (client DicomServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, dicomServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DicomServicesClient) GetResponder

func (client DicomServicesClient) GetResponder(resp *http.Response) (result DicomService, err error)

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

func (DicomServicesClient) GetSender

func (client DicomServicesClient) 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 (DicomServicesClient) ListByWorkspace

func (client DicomServicesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result DicomServiceCollectionPage, err error)

ListByWorkspace lists all DICOM Services for the given workspace Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource.

func (DicomServicesClient) ListByWorkspaceComplete

func (client DicomServicesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result DicomServiceCollectionIterator, err error)

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

func (DicomServicesClient) ListByWorkspacePreparer

func (client DicomServicesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (DicomServicesClient) ListByWorkspaceResponder

func (client DicomServicesClient) ListByWorkspaceResponder(resp *http.Response) (result DicomServiceCollection, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (DicomServicesClient) ListByWorkspaceSender

func (client DicomServicesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

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

func (DicomServicesClient) Update

func (client DicomServicesClient) Update(ctx context.Context, resourceGroupName string, dicomServiceName string, workspaceName string, dicomservicePatchResource DicomServicePatchResource) (result DicomServicesUpdateFuture, err error)

Update patch DICOM Service details. Parameters: resourceGroupName - the name of the resource group that contains the service instance. dicomServiceName - the name of DICOM Service resource. workspaceName - the name of workspace resource. dicomservicePatchResource - the parameters for updating a Dicom Service.

func (DicomServicesClient) UpdatePreparer

func (client DicomServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, dicomServiceName string, workspaceName string, dicomservicePatchResource DicomServicePatchResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (DicomServicesClient) UpdateResponder

func (client DicomServicesClient) UpdateResponder(resp *http.Response) (result DicomService, err error)

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

func (DicomServicesClient) UpdateSender

func (client DicomServicesClient) UpdateSender(req *http.Request) (future DicomServicesUpdateFuture, err error)

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

type DicomServicesCreateOrUpdateFuture

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

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

func (*DicomServicesCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DicomServicesDeleteFuture

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

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

func (*DicomServicesDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type DicomServicesUpdateFuture

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

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

func (*DicomServicesUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type Error

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

Error error details.

type ErrorDetails

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

ErrorDetails error details.

type ErrorDetailsInternal

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.

func (ErrorDetailsInternal) MarshalJSON

func (edi ErrorDetailsInternal) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDetailsInternal.

type FhirDestinationsClient

type FhirDestinationsClient struct {
	BaseClient
}

FhirDestinationsClient is the azure Healthcare APIs Client

func NewFhirDestinationsClient

func NewFhirDestinationsClient(subscriptionID string) FhirDestinationsClient

NewFhirDestinationsClient creates an instance of the FhirDestinationsClient client.

func NewFhirDestinationsClientWithBaseURI

func NewFhirDestinationsClientWithBaseURI(baseURI string, subscriptionID string) FhirDestinationsClient

NewFhirDestinationsClientWithBaseURI creates an instance of the FhirDestinationsClient 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 (FhirDestinationsClient) ListByIotConnector

func (client FhirDestinationsClient) ListByIotConnector(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string) (result IotFhirDestinationCollectionPage, err error)

ListByIotConnector lists all FHIR destinations for the given IoT Connector Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. iotConnectorName - the name of IoT Connector resource.

func (FhirDestinationsClient) ListByIotConnectorComplete

func (client FhirDestinationsClient) ListByIotConnectorComplete(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string) (result IotFhirDestinationCollectionIterator, err error)

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

func (FhirDestinationsClient) ListByIotConnectorPreparer

func (client FhirDestinationsClient) ListByIotConnectorPreparer(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string) (*http.Request, error)

ListByIotConnectorPreparer prepares the ListByIotConnector request.

func (FhirDestinationsClient) ListByIotConnectorResponder

func (client FhirDestinationsClient) ListByIotConnectorResponder(resp *http.Response) (result IotFhirDestinationCollection, err error)

ListByIotConnectorResponder handles the response to the ListByIotConnector request. The method always closes the http.Response Body.

func (FhirDestinationsClient) ListByIotConnectorSender

func (client FhirDestinationsClient) ListByIotConnectorSender(req *http.Request) (*http.Response, error)

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

type FhirService

type FhirService struct {
	autorest.Response `json:"-"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// Identity - Setting indicating whether the service has a managed identity associated with it.
	Identity *ServiceManagedIdentityIdentity `json:"identity,omitempty"`
	// Kind - The kind of the service. Possible values include: 'FhirServiceKindFhirStu3', 'FhirServiceKindFhirR4'
	Kind FhirServiceKind `json:"kind,omitempty"`
	// FhirServiceProperties - Fhir Service configuration.
	*FhirServiceProperties `json:"properties,omitempty"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

FhirService the description of Fhir Service

func (FhirService) MarshalJSON

func (fs FhirService) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FhirService.

func (*FhirService) UnmarshalJSON

func (fs *FhirService) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for FhirService struct.

type FhirServiceAccessPolicyEntry

type FhirServiceAccessPolicyEntry struct {
	// ObjectID - An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.
	ObjectID *string `json:"objectId,omitempty"`
}

FhirServiceAccessPolicyEntry an access policy entry.

type FhirServiceAcrConfiguration

type FhirServiceAcrConfiguration struct {
	// LoginServers - The list of the Azure container registry login servers.
	LoginServers *[]string `json:"loginServers,omitempty"`
}

FhirServiceAcrConfiguration azure container registry configuration information

type FhirServiceAuthenticationConfiguration

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

FhirServiceAuthenticationConfiguration authentication configuration information

type FhirServiceCollection

type FhirServiceCollection struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of Fhir Services.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The list of Fhir Services.
	Value *[]FhirService `json:"value,omitempty"`
}

FhirServiceCollection a collection of Fhir services.

func (FhirServiceCollection) IsEmpty

func (fsc FhirServiceCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type FhirServiceCollectionIterator

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

FhirServiceCollectionIterator provides access to a complete listing of FhirService values.

func NewFhirServiceCollectionIterator

func NewFhirServiceCollectionIterator(page FhirServiceCollectionPage) FhirServiceCollectionIterator

Creates a new instance of the FhirServiceCollectionIterator type.

func (*FhirServiceCollectionIterator) Next

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

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

func (iter FhirServiceCollectionIterator) NotDone() bool

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

func (FhirServiceCollectionIterator) Response

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

func (FhirServiceCollectionIterator) Value

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

type FhirServiceCollectionPage

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

FhirServiceCollectionPage contains a page of FhirService values.

func NewFhirServiceCollectionPage

Creates a new instance of the FhirServiceCollectionPage type.

func (*FhirServiceCollectionPage) Next

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

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

func (page FhirServiceCollectionPage) NotDone() bool

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

func (FhirServiceCollectionPage) Response

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

func (FhirServiceCollectionPage) Values

func (page FhirServiceCollectionPage) Values() []FhirService

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

type FhirServiceCorsConfiguration

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

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

type FhirServiceExportConfiguration

type FhirServiceExportConfiguration struct {
	// StorageAccountName - The name of the default export storage account.
	StorageAccountName *string `json:"storageAccountName,omitempty"`
}

FhirServiceExportConfiguration export operation configuration information

type FhirServiceKind

type FhirServiceKind string

FhirServiceKind enumerates the values for fhir service kind.

const (
	// FhirServiceKindFhirR4 ...
	FhirServiceKindFhirR4 FhirServiceKind = "fhir-R4"
	// FhirServiceKindFhirStu3 ...
	FhirServiceKindFhirStu3 FhirServiceKind = "fhir-Stu3"
)

func PossibleFhirServiceKindValues

func PossibleFhirServiceKindValues() []FhirServiceKind

PossibleFhirServiceKindValues returns an array of possible values for the FhirServiceKind const type.

type FhirServicePatchResource

type FhirServicePatchResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Identity - Setting indicating whether the service has a managed identity associated with it.
	Identity *ServiceManagedIdentityIdentity `json:"identity,omitempty"`
}

FhirServicePatchResource fhirService patch properties

func (FhirServicePatchResource) MarshalJSON

func (fspr FhirServicePatchResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FhirServicePatchResource.

type FhirServiceProperties

type FhirServiceProperties struct {
	// ProvisioningState - The provisioning state. Possible values include: 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateCreating', 'ProvisioningStateAccepted', 'ProvisioningStateVerifying', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeprovisioned', 'ProvisioningStateMoving', 'ProvisioningStateSuspended', 'ProvisioningStateWarned', 'ProvisioningStateSystemMaintenance'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// AccessPolicies - Fhir Service access policies.
	AccessPolicies *[]FhirServiceAccessPolicyEntry `json:"accessPolicies,omitempty"`
	// AcrConfiguration - Fhir Service Azure container registry configuration.
	AcrConfiguration *FhirServiceAcrConfiguration `json:"acrConfiguration,omitempty"`
	// AuthenticationConfiguration - Fhir Service authentication configuration.
	AuthenticationConfiguration *FhirServiceAuthenticationConfiguration `json:"authenticationConfiguration,omitempty"`
	// CorsConfiguration - Fhir Service Cors configuration.
	CorsConfiguration *FhirServiceCorsConfiguration `json:"corsConfiguration,omitempty"`
	// ExportConfiguration - Fhir Service export configuration.
	ExportConfiguration *FhirServiceExportConfiguration `json:"exportConfiguration,omitempty"`
}

FhirServiceProperties fhir Service properties.

type FhirServicesClient

type FhirServicesClient struct {
	BaseClient
}

FhirServicesClient is the azure Healthcare APIs Client

func NewFhirServicesClient

func NewFhirServicesClient(subscriptionID string) FhirServicesClient

NewFhirServicesClient creates an instance of the FhirServicesClient client.

func NewFhirServicesClientWithBaseURI

func NewFhirServicesClientWithBaseURI(baseURI string, subscriptionID string) FhirServicesClient

NewFhirServicesClientWithBaseURI creates an instance of the FhirServicesClient 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 (FhirServicesClient) CreateOrUpdate

func (client FhirServicesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, fhirServiceName string, fhirservice FhirService) (result FhirServicesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a FHIR Service resource with the specified parameters. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. fhirServiceName - the name of FHIR Service resource. fhirservice - the parameters for creating or updating a Fhir Service resource.

func (FhirServicesClient) CreateOrUpdatePreparer

func (client FhirServicesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, fhirServiceName string, fhirservice FhirService) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (FhirServicesClient) CreateOrUpdateResponder

func (client FhirServicesClient) CreateOrUpdateResponder(resp *http.Response) (result FhirService, err error)

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

func (FhirServicesClient) CreateOrUpdateSender

func (client FhirServicesClient) CreateOrUpdateSender(req *http.Request) (future FhirServicesCreateOrUpdateFuture, err error)

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

func (FhirServicesClient) Delete

func (client FhirServicesClient) Delete(ctx context.Context, resourceGroupName string, fhirServiceName string, workspaceName string) (result FhirServicesDeleteFuture, err error)

Delete deletes a FHIR Service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. fhirServiceName - the name of FHIR Service resource. workspaceName - the name of workspace resource.

func (FhirServicesClient) DeletePreparer

func (client FhirServicesClient) DeletePreparer(ctx context.Context, resourceGroupName string, fhirServiceName string, workspaceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (FhirServicesClient) DeleteResponder

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

func (client FhirServicesClient) DeleteSender(req *http.Request) (future FhirServicesDeleteFuture, err error)

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

func (FhirServicesClient) Get

func (client FhirServicesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, fhirServiceName string) (result FhirService, err error)

Get gets the properties of the specified FHIR Service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. fhirServiceName - the name of FHIR Service resource.

func (FhirServicesClient) GetPreparer

func (client FhirServicesClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, fhirServiceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (FhirServicesClient) GetResponder

func (client FhirServicesClient) GetResponder(resp *http.Response) (result FhirService, err error)

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

func (FhirServicesClient) GetSender

func (client FhirServicesClient) 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 (FhirServicesClient) ListByWorkspace

func (client FhirServicesClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result FhirServiceCollectionPage, err error)

ListByWorkspace lists all FHIR Services for the given workspace Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource.

func (FhirServicesClient) ListByWorkspaceComplete

func (client FhirServicesClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result FhirServiceCollectionIterator, err error)

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

func (FhirServicesClient) ListByWorkspacePreparer

func (client FhirServicesClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (FhirServicesClient) ListByWorkspaceResponder

func (client FhirServicesClient) ListByWorkspaceResponder(resp *http.Response) (result FhirServiceCollection, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (FhirServicesClient) ListByWorkspaceSender

func (client FhirServicesClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

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

func (FhirServicesClient) Update

func (client FhirServicesClient) Update(ctx context.Context, resourceGroupName string, fhirServiceName string, workspaceName string, fhirservicePatchResource FhirServicePatchResource) (result FhirServicesUpdateFuture, err error)

Update patch FHIR Service details. Parameters: resourceGroupName - the name of the resource group that contains the service instance. fhirServiceName - the name of FHIR Service resource. workspaceName - the name of workspace resource. fhirservicePatchResource - the parameters for updating a Fhir Service.

func (FhirServicesClient) UpdatePreparer

func (client FhirServicesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, fhirServiceName string, workspaceName string, fhirservicePatchResource FhirServicePatchResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (FhirServicesClient) UpdateResponder

func (client FhirServicesClient) UpdateResponder(resp *http.Response) (result FhirService, err error)

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

func (FhirServicesClient) UpdateSender

func (client FhirServicesClient) UpdateSender(req *http.Request) (future FhirServicesUpdateFuture, err error)

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

type FhirServicesCreateOrUpdateFuture

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

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

func (*FhirServicesCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FhirServicesDeleteFuture

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

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

func (*FhirServicesDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FhirServicesUpdateFuture

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

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

func (*FhirServicesUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type IotConnector

type IotConnector struct {
	autorest.Response `json:"-"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
	// Identity - Setting indicating whether the service has a managed identity associated with it.
	Identity *ServiceManagedIdentityIdentity `json:"identity,omitempty"`
	// IotConnectorProperties - IoT Connector configuration.
	*IotConnectorProperties `json:"properties,omitempty"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

IotConnector ioT Connector definition.

func (IotConnector) MarshalJSON

func (ic IotConnector) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IotConnector.

func (*IotConnector) UnmarshalJSON

func (ic *IotConnector) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IotConnector struct.

type IotConnectorCollection

type IotConnectorCollection struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of IoT Connectors.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The list of IoT Connectors.
	Value *[]IotConnector `json:"value,omitempty"`
}

IotConnectorCollection a collection of IoT Connectors.

func (IotConnectorCollection) IsEmpty

func (icc IotConnectorCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IotConnectorCollectionIterator

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

IotConnectorCollectionIterator provides access to a complete listing of IotConnector values.

func NewIotConnectorCollectionIterator

func NewIotConnectorCollectionIterator(page IotConnectorCollectionPage) IotConnectorCollectionIterator

Creates a new instance of the IotConnectorCollectionIterator type.

func (*IotConnectorCollectionIterator) Next

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

func (*IotConnectorCollectionIterator) NextWithContext

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

func (iter IotConnectorCollectionIterator) NotDone() bool

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

func (IotConnectorCollectionIterator) Response

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

func (IotConnectorCollectionIterator) Value

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

type IotConnectorCollectionPage

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

IotConnectorCollectionPage contains a page of IotConnector values.

func NewIotConnectorCollectionPage

Creates a new instance of the IotConnectorCollectionPage type.

func (*IotConnectorCollectionPage) Next

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

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

func (page IotConnectorCollectionPage) NotDone() bool

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

func (IotConnectorCollectionPage) Response

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

func (IotConnectorCollectionPage) Values

func (page IotConnectorCollectionPage) Values() []IotConnector

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

type IotConnectorFhirDestinationClient

type IotConnectorFhirDestinationClient struct {
	BaseClient
}

IotConnectorFhirDestinationClient is the azure Healthcare APIs Client

func NewIotConnectorFhirDestinationClient

func NewIotConnectorFhirDestinationClient(subscriptionID string) IotConnectorFhirDestinationClient

NewIotConnectorFhirDestinationClient creates an instance of the IotConnectorFhirDestinationClient client.

func NewIotConnectorFhirDestinationClientWithBaseURI

func NewIotConnectorFhirDestinationClientWithBaseURI(baseURI string, subscriptionID string) IotConnectorFhirDestinationClient

NewIotConnectorFhirDestinationClientWithBaseURI creates an instance of the IotConnectorFhirDestinationClient 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 (IotConnectorFhirDestinationClient) CreateOrUpdate

func (client IotConnectorFhirDestinationClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string, iotFhirDestination IotFhirDestination) (result IotConnectorFhirDestinationCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an IoT Connector FHIR destination resource with the specified parameters. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. iotConnectorName - the name of IoT Connector resource. fhirDestinationName - the name of IoT Connector FHIR destination resource. iotFhirDestination - the parameters for creating or updating an IoT Connector FHIR destination resource.

func (IotConnectorFhirDestinationClient) CreateOrUpdatePreparer

func (client IotConnectorFhirDestinationClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string, iotFhirDestination IotFhirDestination) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (IotConnectorFhirDestinationClient) CreateOrUpdateResponder

func (client IotConnectorFhirDestinationClient) CreateOrUpdateResponder(resp *http.Response) (result IotFhirDestination, err error)

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

func (IotConnectorFhirDestinationClient) CreateOrUpdateSender

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

func (IotConnectorFhirDestinationClient) Delete

func (client IotConnectorFhirDestinationClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string) (result IotConnectorFhirDestinationDeleteFuture, err error)

Delete deletes an IoT Connector FHIR destination. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. iotConnectorName - the name of IoT Connector resource. fhirDestinationName - the name of IoT Connector FHIR destination resource.

func (IotConnectorFhirDestinationClient) DeletePreparer

func (client IotConnectorFhirDestinationClient) DeletePreparer(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (IotConnectorFhirDestinationClient) DeleteResponder

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

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

func (IotConnectorFhirDestinationClient) Get

func (client IotConnectorFhirDestinationClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string) (result IotFhirDestination, err error)

Get gets the properties of the specified Iot Connector FHIR destination. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. iotConnectorName - the name of IoT Connector resource. fhirDestinationName - the name of IoT Connector FHIR destination resource.

func (IotConnectorFhirDestinationClient) GetPreparer

func (client IotConnectorFhirDestinationClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, fhirDestinationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IotConnectorFhirDestinationClient) GetResponder

func (client IotConnectorFhirDestinationClient) GetResponder(resp *http.Response) (result IotFhirDestination, err error)

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

func (IotConnectorFhirDestinationClient) GetSender

func (client IotConnectorFhirDestinationClient) 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 IotConnectorFhirDestinationCreateOrUpdateFuture

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

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

func (*IotConnectorFhirDestinationCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type IotConnectorFhirDestinationDeleteFuture

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

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

func (*IotConnectorFhirDestinationDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type IotConnectorPatchResource

type IotConnectorPatchResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Identity - Setting indicating whether the service has a managed identity associated with it.
	Identity *ServiceManagedIdentityIdentity `json:"identity,omitempty"`
}

IotConnectorPatchResource iot Connector patch properties

func (IotConnectorPatchResource) MarshalJSON

func (icpr IotConnectorPatchResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IotConnectorPatchResource.

type IotConnectorProperties

type IotConnectorProperties struct {
	// ProvisioningState - The provisioning state. Possible values include: 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateCreating', 'ProvisioningStateAccepted', 'ProvisioningStateVerifying', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeprovisioned', 'ProvisioningStateMoving', 'ProvisioningStateSuspended', 'ProvisioningStateWarned', 'ProvisioningStateSystemMaintenance'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// IngestionEndpointConfiguration - Source configuration.
	IngestionEndpointConfiguration *IotEventHubIngestionEndpointConfiguration `json:"ingestionEndpointConfiguration,omitempty"`
	// DeviceMapping - Device Mappings.
	DeviceMapping *IotMappingProperties `json:"deviceMapping,omitempty"`
}

IotConnectorProperties ioT Connector properties.

type IotConnectorsClient

type IotConnectorsClient struct {
	BaseClient
}

IotConnectorsClient is the azure Healthcare APIs Client

func NewIotConnectorsClient

func NewIotConnectorsClient(subscriptionID string) IotConnectorsClient

NewIotConnectorsClient creates an instance of the IotConnectorsClient client.

func NewIotConnectorsClientWithBaseURI

func NewIotConnectorsClientWithBaseURI(baseURI string, subscriptionID string) IotConnectorsClient

NewIotConnectorsClientWithBaseURI creates an instance of the IotConnectorsClient 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 (IotConnectorsClient) CreateOrUpdate

func (client IotConnectorsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, iotConnector IotConnector) (result IotConnectorsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an IoT Connector resource with the specified parameters. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. iotConnectorName - the name of IoT Connector resource. iotConnector - the parameters for creating or updating an IoT Connectors resource.

func (IotConnectorsClient) CreateOrUpdatePreparer

func (client IotConnectorsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string, iotConnector IotConnector) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (IotConnectorsClient) CreateOrUpdateResponder

func (client IotConnectorsClient) CreateOrUpdateResponder(resp *http.Response) (result IotConnector, err error)

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

func (IotConnectorsClient) CreateOrUpdateSender

func (client IotConnectorsClient) CreateOrUpdateSender(req *http.Request) (future IotConnectorsCreateOrUpdateFuture, err error)

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

func (IotConnectorsClient) Delete

func (client IotConnectorsClient) Delete(ctx context.Context, resourceGroupName string, iotConnectorName string, workspaceName string) (result IotConnectorsDeleteFuture, err error)

Delete deletes an IoT Connector. Parameters: resourceGroupName - the name of the resource group that contains the service instance. iotConnectorName - the name of IoT Connector resource. workspaceName - the name of workspace resource.

func (IotConnectorsClient) DeletePreparer

func (client IotConnectorsClient) DeletePreparer(ctx context.Context, resourceGroupName string, iotConnectorName string, workspaceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (IotConnectorsClient) DeleteResponder

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

func (client IotConnectorsClient) DeleteSender(req *http.Request) (future IotConnectorsDeleteFuture, err error)

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

func (IotConnectorsClient) Get

func (client IotConnectorsClient) Get(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string) (result IotConnector, err error)

Get gets the properties of the specified IoT Connector. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. iotConnectorName - the name of IoT Connector resource.

func (IotConnectorsClient) GetPreparer

func (client IotConnectorsClient) GetPreparer(ctx context.Context, resourceGroupName string, workspaceName string, iotConnectorName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (IotConnectorsClient) GetResponder

func (client IotConnectorsClient) GetResponder(resp *http.Response) (result IotConnector, err error)

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

func (IotConnectorsClient) GetSender

func (client IotConnectorsClient) 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 (IotConnectorsClient) ListByWorkspace

func (client IotConnectorsClient) ListByWorkspace(ctx context.Context, resourceGroupName string, workspaceName string) (result IotConnectorCollectionPage, err error)

ListByWorkspace lists all IoT Connectors for the given workspace Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource.

func (IotConnectorsClient) ListByWorkspaceComplete

func (client IotConnectorsClient) ListByWorkspaceComplete(ctx context.Context, resourceGroupName string, workspaceName string) (result IotConnectorCollectionIterator, err error)

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

func (IotConnectorsClient) ListByWorkspacePreparer

func (client IotConnectorsClient) ListByWorkspacePreparer(ctx context.Context, resourceGroupName string, workspaceName string) (*http.Request, error)

ListByWorkspacePreparer prepares the ListByWorkspace request.

func (IotConnectorsClient) ListByWorkspaceResponder

func (client IotConnectorsClient) ListByWorkspaceResponder(resp *http.Response) (result IotConnectorCollection, err error)

ListByWorkspaceResponder handles the response to the ListByWorkspace request. The method always closes the http.Response Body.

func (IotConnectorsClient) ListByWorkspaceSender

func (client IotConnectorsClient) ListByWorkspaceSender(req *http.Request) (*http.Response, error)

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

func (IotConnectorsClient) Update

func (client IotConnectorsClient) Update(ctx context.Context, resourceGroupName string, iotConnectorName string, workspaceName string, iotConnectorPatchResource IotConnectorPatchResource) (result IotConnectorsUpdateFuture, err error)

Update patch an IoT Connector. Parameters: resourceGroupName - the name of the resource group that contains the service instance. iotConnectorName - the name of IoT Connector resource. workspaceName - the name of workspace resource. iotConnectorPatchResource - the parameters for updating an IoT Connector.

func (IotConnectorsClient) UpdatePreparer

func (client IotConnectorsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, iotConnectorName string, workspaceName string, iotConnectorPatchResource IotConnectorPatchResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (IotConnectorsClient) UpdateResponder

func (client IotConnectorsClient) UpdateResponder(resp *http.Response) (result IotConnector, err error)

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

func (IotConnectorsClient) UpdateSender

func (client IotConnectorsClient) UpdateSender(req *http.Request) (future IotConnectorsUpdateFuture, err error)

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

type IotConnectorsCreateOrUpdateFuture

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

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

func (*IotConnectorsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type IotConnectorsDeleteFuture

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

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

func (*IotConnectorsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type IotConnectorsUpdateFuture

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

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

func (*IotConnectorsUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type IotDestinationProperties

type IotDestinationProperties struct {
	// ProvisioningState - The provisioning state. Possible values include: 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateCreating', 'ProvisioningStateAccepted', 'ProvisioningStateVerifying', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeprovisioned', 'ProvisioningStateMoving', 'ProvisioningStateSuspended', 'ProvisioningStateWarned', 'ProvisioningStateSystemMaintenance'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

IotDestinationProperties common IoT Connector destination properties.

type IotEventHubIngestionEndpointConfiguration

type IotEventHubIngestionEndpointConfiguration struct {
	// EventHubName - Event Hub name to connect to.
	EventHubName *string `json:"eventHubName,omitempty"`
	// ConsumerGroup - Consumer group of the event hub to connected to.
	ConsumerGroup *string `json:"consumerGroup,omitempty"`
	// FullyQualifiedEventHubNamespace - Fully qualified namespace of the Event Hub to connect to.
	FullyQualifiedEventHubNamespace *string `json:"fullyQualifiedEventHubNamespace,omitempty"`
}

IotEventHubIngestionEndpointConfiguration event Hub ingestion endpoint configuration

type IotFhirDestination

type IotFhirDestination struct {
	autorest.Response `json:"-"`
	// IotFhirDestinationProperties - IoT FHIR Destination settings.
	*IotFhirDestinationProperties `json:"properties,omitempty"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Location - The resource location.
	Location *string `json:"location,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"`
	// Etag - An etag associated with the resource, used for optimistic concurrency when editing it.
	Etag *string `json:"etag,omitempty"`
}

IotFhirDestination ioT Connector FHIR destination definition.

func (IotFhirDestination) MarshalJSON

func (ifd IotFhirDestination) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IotFhirDestination.

func (*IotFhirDestination) UnmarshalJSON

func (ifd *IotFhirDestination) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for IotFhirDestination struct.

type IotFhirDestinationCollection

type IotFhirDestinationCollection struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page of IoT FHIR destinations.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - The list of IoT Connector FHIR destinations.
	Value *[]IotFhirDestination `json:"value,omitempty"`
}

IotFhirDestinationCollection a collection of IoT Connector FHIR destinations.

func (IotFhirDestinationCollection) IsEmpty

func (ifdc IotFhirDestinationCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type IotFhirDestinationCollectionIterator

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

IotFhirDestinationCollectionIterator provides access to a complete listing of IotFhirDestination values.

func NewIotFhirDestinationCollectionIterator

func NewIotFhirDestinationCollectionIterator(page IotFhirDestinationCollectionPage) IotFhirDestinationCollectionIterator

Creates a new instance of the IotFhirDestinationCollectionIterator type.

func (*IotFhirDestinationCollectionIterator) Next

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

func (*IotFhirDestinationCollectionIterator) NextWithContext

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

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

func (IotFhirDestinationCollectionIterator) Response

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

func (IotFhirDestinationCollectionIterator) Value

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

type IotFhirDestinationCollectionPage

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

IotFhirDestinationCollectionPage contains a page of IotFhirDestination values.

func NewIotFhirDestinationCollectionPage

Creates a new instance of the IotFhirDestinationCollectionPage type.

func (*IotFhirDestinationCollectionPage) Next

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

func (*IotFhirDestinationCollectionPage) NextWithContext

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

func (page IotFhirDestinationCollectionPage) NotDone() bool

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

func (IotFhirDestinationCollectionPage) Response

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

func (IotFhirDestinationCollectionPage) Values

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

type IotFhirDestinationProperties

type IotFhirDestinationProperties struct {
	// ResourceIdentityResolutionType - Determines how resource identity is resolved on the destination. Possible values include: 'IotIdentityResolutionTypeCreate', 'IotIdentityResolutionTypeLookup'
	ResourceIdentityResolutionType IotIdentityResolutionType `json:"resourceIdentityResolutionType,omitempty"`
	// FhirServiceResourceID - Fully qualified resource id of the FHIR service to connect to.
	FhirServiceResourceID *string `json:"fhirServiceResourceId,omitempty"`
	// FhirMapping - FHIR Mappings
	FhirMapping *IotMappingProperties `json:"fhirMapping,omitempty"`
	// ProvisioningState - The provisioning state. Possible values include: 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateCreating', 'ProvisioningStateAccepted', 'ProvisioningStateVerifying', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeprovisioned', 'ProvisioningStateMoving', 'ProvisioningStateSuspended', 'ProvisioningStateWarned', 'ProvisioningStateSystemMaintenance'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

IotFhirDestinationProperties ioT Connector destination properties for an Azure FHIR service.

type IotIdentityResolutionType

type IotIdentityResolutionType string

IotIdentityResolutionType enumerates the values for iot identity resolution type.

const (
	// IotIdentityResolutionTypeCreate ...
	IotIdentityResolutionTypeCreate IotIdentityResolutionType = "Create"
	// IotIdentityResolutionTypeLookup ...
	IotIdentityResolutionTypeLookup IotIdentityResolutionType = "Lookup"
)

func PossibleIotIdentityResolutionTypeValues

func PossibleIotIdentityResolutionTypeValues() []IotIdentityResolutionType

PossibleIotIdentityResolutionTypeValues returns an array of possible values for the IotIdentityResolutionType const type.

type IotMappingProperties

type IotMappingProperties struct {
	// Content - The mapping.
	Content interface{} `json:"content,omitempty"`
}

IotMappingProperties the mapping content.

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// KindFhir ...
	KindFhir Kind = "fhir"
	// KindFhirR4 ...
	KindFhirR4 Kind = "fhir-R4"
	// KindFhirStu3 ...
	KindFhirStu3 Kind = "fhir-Stu3"
)

func PossibleKindValues

func PossibleKindValues() []Kind

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

type ListOperations

type ListOperations struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; Collection of available operation details
	Value *[]OperationDetail `json:"value,omitempty"`
	// NextLink - URL client should use to fetch the next page (per server side paging).
	// It's null for now, added for future use.
	NextLink *string `json:"nextLink,omitempty"`
}

ListOperations available operations of the service

func (ListOperations) IsEmpty

func (lo ListOperations) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

func (ListOperations) MarshalJSON

func (lo ListOperations) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ListOperations.

type ListOperationsIterator

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

ListOperationsIterator provides access to a complete listing of OperationDetail values.

func NewListOperationsIterator

func NewListOperationsIterator(page ListOperationsPage) ListOperationsIterator

Creates a new instance of the ListOperationsIterator type.

func (*ListOperationsIterator) Next

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

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

func (iter ListOperationsIterator) NotDone() bool

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

func (ListOperationsIterator) Response

func (iter ListOperationsIterator) Response() ListOperations

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

func (ListOperationsIterator) Value

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

type ListOperationsPage

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

ListOperationsPage contains a page of OperationDetail values.

func NewListOperationsPage

func NewListOperationsPage(cur ListOperations, getNextPage func(context.Context, ListOperations) (ListOperations, error)) ListOperationsPage

Creates a new instance of the ListOperationsPage type.

func (*ListOperationsPage) Next

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

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

func (page ListOperationsPage) NotDone() bool

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

func (ListOperationsPage) Response

func (page ListOperationsPage) Response() ListOperations

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

func (ListOperationsPage) Values

func (page ListOperationsPage) Values() []OperationDetail

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

type LocationBasedResource

type LocationBasedResource struct {
	// Location - The resource location.
	Location *string `json:"location,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"`
	// Etag - An etag associated with the resource, used for optimistic concurrency when editing it.
	Etag *string `json:"etag,omitempty"`
}

LocationBasedResource the common properties for any location based resource, tracked or proxy.

func (LocationBasedResource) MarshalJSON

func (lbr LocationBasedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocationBasedResource.

type ManagedServiceIdentityType

type ManagedServiceIdentityType string

ManagedServiceIdentityType enumerates the values for managed service identity type.

const (
	// ManagedServiceIdentityTypeNone ...
	ManagedServiceIdentityTypeNone ManagedServiceIdentityType = "None"
	// ManagedServiceIdentityTypeSystemAssigned ...
	ManagedServiceIdentityTypeSystemAssigned ManagedServiceIdentityType = "SystemAssigned"
)

func PossibleManagedServiceIdentityTypeValues

func PossibleManagedServiceIdentityTypeValues() []ManagedServiceIdentityType

PossibleManagedServiceIdentityTypeValues returns an array of possible values for the ManagedServiceIdentityType const type.

type OperationDetail

type OperationDetail struct {
	// Name - READ-ONLY; Name of the operation
	Name *string `json:"name,omitempty"`
	// IsDataAction - READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// Display - Display of the operation
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - READ-ONLY; Default value is 'user,system'.
	Origin *string `json:"origin,omitempty"`
	// ActionType - READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. Possible values include: 'ActionTypeInternal'
	ActionType ActionType `json:"actionType,omitempty"`
}

OperationDetail service REST API operation.

func (OperationDetail) MarshalJSON

func (od OperationDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDetail.

type OperationDisplay

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.

func (OperationDisplay) MarshalJSON

func (od OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDisplay.

type OperationResultStatus

type OperationResultStatus string

OperationResultStatus enumerates the values for operation result status.

const (
	// OperationResultStatusCanceled ...
	OperationResultStatusCanceled OperationResultStatus = "Canceled"
	// OperationResultStatusFailed ...
	OperationResultStatusFailed OperationResultStatus = "Failed"
	// OperationResultStatusRequested ...
	OperationResultStatusRequested OperationResultStatus = "Requested"
	// OperationResultStatusRunning ...
	OperationResultStatusRunning OperationResultStatus = "Running"
	// OperationResultStatusSucceeded ...
	OperationResultStatusSucceeded OperationResultStatus = "Succeeded"
)

func PossibleOperationResultStatusValues

func PossibleOperationResultStatusValues() []OperationResultStatus

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

type OperationResultsClient

type OperationResultsClient struct {
	BaseClient
}

OperationResultsClient is the azure Healthcare APIs Client

func NewOperationResultsClient

func NewOperationResultsClient(subscriptionID string) OperationResultsClient

NewOperationResultsClient creates an instance of the OperationResultsClient client.

func NewOperationResultsClientWithBaseURI

func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient

NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient 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 (OperationResultsClient) Get

func (client OperationResultsClient) Get(ctx context.Context, locationName string, operationResultID string) (result OperationResultsDescription, 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

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

GetPreparer prepares the Get request.

func (OperationResultsClient) GetResponder

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

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

func (OperationResultsClient) GetSender

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

type OperationResultsDescription struct {
	autorest.Response `json:"-"`
	// 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: 'OperationResultStatusCanceled', 'OperationResultStatusSucceeded', 'OperationResultStatusFailed', 'OperationResultStatusRequested', 'OperationResultStatusRunning'
	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.

func (OperationResultsDescription) MarshalJSON

func (ord OperationResultsDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationResultsDescription.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the azure Healthcare APIs Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient 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 (OperationsClient) List

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

List lists all of the available operations supported by Microsoft Healthcare resource provider.

func (OperationsClient) ListComplete

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

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

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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

func (OperationsClient) ListSender

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 PrivateEndpoint

type PrivateEndpoint struct {
	// ID - READ-ONLY; The ARM identifier for Private Endpoint
	ID *string `json:"id,omitempty"`
}

PrivateEndpoint the Private Endpoint resource.

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	// PrivateEndpointConnectionProperties - Resource properties.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateEndpointConnection the Private Endpoint Connection resource.

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionDescription

type PrivateEndpointConnectionDescription struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// PrivateEndpointConnectionProperties - Resource properties.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateEndpointConnectionDescription the Private Endpoint Connection resource.

func (PrivateEndpointConnectionDescription) MarshalJSON

func (pecd PrivateEndpointConnectionDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionDescription.

func (*PrivateEndpointConnectionDescription) UnmarshalJSON

func (pecd *PrivateEndpointConnectionDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnectionDescription struct.

type PrivateEndpointConnectionListResultDescription

type PrivateEndpointConnectionListResultDescription struct {
	autorest.Response `json:"-"`
	// Value - Array of private endpoint connections
	Value *[]PrivateEndpointConnectionDescription `json:"value,omitempty"`
}

PrivateEndpointConnectionListResultDescription list of private endpoint connection associated with the specified storage account

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// PrivateEndpoint - The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	// ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed'
	ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string

PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.

const (
	// PrivateEndpointConnectionProvisioningStateCreating ...
	PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
	// PrivateEndpointConnectionProvisioningStateDeleting ...
	PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
	// PrivateEndpointConnectionProvisioningStateFailed ...
	PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
	// PrivateEndpointConnectionProvisioningStateSucceeded ...
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func PossiblePrivateEndpointConnectionProvisioningStateValues

func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState

PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.

type PrivateEndpointConnectionsClient

type PrivateEndpointConnectionsClient struct {
	BaseClient
}

PrivateEndpointConnectionsClient is the azure Healthcare APIs Client

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient 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 (PrivateEndpointConnectionsClient) CreateOrUpdate

func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate update the state of the specified private endpoint connection associated with the service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource properties - the private endpoint connection properties.

func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer

func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string, properties PrivateEndpointConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder

func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnectionDescription, err error)

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

func (PrivateEndpointConnectionsClient) CreateOrUpdateSender

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

func (PrivateEndpointConnectionsClient) Delete

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)

Delete deletes a private endpoint connection. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource

func (PrivateEndpointConnectionsClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder

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

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

func (PrivateEndpointConnectionsClient) Get

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionDescription, err error)

Get gets the specified private endpoint connection associated with the service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance. privateEndpointConnectionName - the name of the private endpoint connection associated with the Azure resource

func (PrivateEndpointConnectionsClient) GetPreparer

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

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder

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

func (PrivateEndpointConnectionsClient) GetSender

func (client PrivateEndpointConnectionsClient) 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 (PrivateEndpointConnectionsClient) ListByService

func (client PrivateEndpointConnectionsClient) ListByService(ctx context.Context, resourceGroupName string, resourceName string) (result PrivateEndpointConnectionListResultDescription, err error)

ListByService lists all private endpoint connections for a service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance.

func (PrivateEndpointConnectionsClient) ListByServicePreparer

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

ListByServicePreparer prepares the ListByService request.

func (PrivateEndpointConnectionsClient) ListByServiceResponder

func (client PrivateEndpointConnectionsClient) ListByServiceResponder(resp *http.Response) (result PrivateEndpointConnectionListResultDescription, err error)

ListByServiceResponder handles the response to the ListByService request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListByServiceSender

func (client PrivateEndpointConnectionsClient) ListByServiceSender(req *http.Request) (*http.Response, error)

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

type PrivateEndpointConnectionsCreateOrUpdateFuture

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

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

func (*PrivateEndpointConnectionsCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateEndpointConnectionsDeleteFuture

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

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

func (*PrivateEndpointConnectionsDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string

PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.

const (
	// PrivateEndpointServiceConnectionStatusApproved ...
	PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
	// PrivateEndpointServiceConnectionStatusPending ...
	PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending"
	// PrivateEndpointServiceConnectionStatusRejected ...
	PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointServiceConnectionStatusValues

func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus

PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.

type PrivateLinkResource

type PrivateLinkResource struct {
	// PrivateLinkResourceProperties - Resource properties.
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateLinkResource a private link resource

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceDescription

type PrivateLinkResourceDescription struct {
	autorest.Response `json:"-"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// PrivateLinkResourceProperties - Resource properties.
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

PrivateLinkResourceDescription the Private Endpoint Connection resource.

func (PrivateLinkResourceDescription) MarshalJSON

func (plrd PrivateLinkResourceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceDescription.

func (*PrivateLinkResourceDescription) UnmarshalJSON

func (plrd *PrivateLinkResourceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResourceDescription struct.

type PrivateLinkResourceListResultDescription

type PrivateLinkResourceListResultDescription struct {
	autorest.Response `json:"-"`
	// Value - Array of private link resources
	Value *[]PrivateLinkResourceDescription `json:"value,omitempty"`
}

PrivateLinkResourceListResultDescription a list of private link resources

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// GroupID - READ-ONLY; The private link resource group id.
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMembers - READ-ONLY; The private link resource required member names.
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
	// RequiredZoneNames - The private link resource Private link DNS zone name.
	RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

PrivateLinkResourceProperties properties of a private link resource.

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	BaseClient
}

PrivateLinkResourcesClient is the azure Healthcare APIs Client

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient 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 (PrivateLinkResourcesClient) Get

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, resourceName string, groupName string) (result PrivateLinkResourceDescription, err error)

Get gets a private link resource that need to be created for a service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance. groupName - the name of the private link resource group.

func (PrivateLinkResourcesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResourceDescription, err error)

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

func (PrivateLinkResourcesClient) GetSender

func (client PrivateLinkResourcesClient) 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 (PrivateLinkResourcesClient) ListByService

func (client PrivateLinkResourcesClient) ListByService(ctx context.Context, resourceGroupName string, resourceName string) (result PrivateLinkResourceListResultDescription, err error)

ListByService gets the private link resources that need to be created for a service. Parameters: resourceGroupName - the name of the resource group that contains the service instance. resourceName - the name of the service instance.

func (PrivateLinkResourcesClient) ListByServicePreparer

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

ListByServicePreparer prepares the ListByService request.

func (PrivateLinkResourcesClient) ListByServiceResponder

func (client PrivateLinkResourcesClient) ListByServiceResponder(resp *http.Response) (result PrivateLinkResourceListResultDescription, err error)

ListByServiceResponder handles the response to the ListByService request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListByServiceSender

func (client PrivateLinkResourcesClient) ListByServiceSender(req *http.Request) (*http.Response, error)

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

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected'
	Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
	// Description - The reason for approval/rejection of the connection.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.

type ProvisioningState

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"
	// ProvisioningStateMoving ...
	ProvisioningStateMoving ProvisioningState = "Moving"
	// ProvisioningStateSucceeded ...
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateSuspended ...
	ProvisioningStateSuspended ProvisioningState = "Suspended"
	// ProvisioningStateSystemMaintenance ...
	ProvisioningStateSystemMaintenance ProvisioningState = "SystemMaintenance"
	// ProvisioningStateUpdating ...
	ProvisioningStateUpdating ProvisioningState = "Updating"
	// ProvisioningStateVerifying ...
	ProvisioningStateVerifying ProvisioningState = "Verifying"
	// ProvisioningStateWarned ...
	ProvisioningStateWarned ProvisioningState = "Warned"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

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

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type PublicNetworkAccess

type PublicNetworkAccess string

PublicNetworkAccess enumerates the values for public network access.

const (
	// PublicNetworkAccessDisabled ...
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	// PublicNetworkAccessEnabled ...
	PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

Resource common fields that are returned in the response for all Azure Resource Manager resources

func (Resource) MarshalJSON

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

MarshalJSON is the custom marshaler for Resource.

type ResourceCore

type ResourceCore 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"`
	// Etag - An etag associated with the resource, used for optimistic concurrency when editing it.
	Etag *string `json:"etag,omitempty"`
}

ResourceCore the common properties for any resource, tracked or proxy.

func (ResourceCore) MarshalJSON

func (rc ResourceCore) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceCore.

type ResourceTags

type ResourceTags struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

ResourceTags list of key value pairs that describe the resource. This will overwrite the existing tags.

func (ResourceTags) MarshalJSON

func (rt ResourceTags) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ResourceTags.

type ServiceAccessPolicyEntry

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

ServiceAccessPolicyEntry an access policy entry.

type ServiceAcrConfigurationInfo

type ServiceAcrConfigurationInfo struct {
	// LoginServers - The list of the ACR login servers.
	LoginServers *[]string `json:"loginServers,omitempty"`
}

ServiceAcrConfigurationInfo azure container registry configuration information

type ServiceAuthenticationConfigurationInfo

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

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

type ServiceCosmosDbConfigurationInfo struct {
	// OfferThroughput - The provisioned throughput for the backing database.
	OfferThroughput *int32 `json:"offerThroughput,omitempty"`
	// KeyVaultKeyURI - The URI of the customer-managed key for the backing database.
	KeyVaultKeyURI *string `json:"keyVaultKeyUri,omitempty"`
}

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

type ServiceExportConfigurationInfo

type ServiceExportConfigurationInfo struct {
	// StorageAccountName - The name of the default export storage account.
	StorageAccountName *string `json:"storageAccountName,omitempty"`
}

ServiceExportConfigurationInfo export operation configuration information

type ServiceManagedIdentity

type ServiceManagedIdentity struct {
	// Identity - Setting indicating whether the service has a managed identity associated with it.
	Identity *ServiceManagedIdentityIdentity `json:"identity,omitempty"`
}

ServiceManagedIdentity the managed identity of a service.

type ServiceManagedIdentityIdentity

type ServiceManagedIdentityIdentity struct {
	// Type - Type of identity being specified, currently SystemAssigned and None are allowed. Possible values include: 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeNone'
	Type ManagedServiceIdentityType `json:"type,omitempty"`
}

ServiceManagedIdentityIdentity setting indicating whether the service has a managed identity associated with it.

type ServiceNameUnavailabilityReason

type ServiceNameUnavailabilityReason string

ServiceNameUnavailabilityReason enumerates the values for service name unavailability reason.

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

func PossibleServiceNameUnavailabilityReasonValues

func PossibleServiceNameUnavailabilityReasonValues() []ServiceNameUnavailabilityReason

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

type ServicesClient

type ServicesClient struct {
	BaseClient
}

ServicesClient is the azure Healthcare APIs Client

func NewServicesClient

func NewServicesClient(subscriptionID string) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI

func NewServicesClientWithBaseURI(baseURI string, subscriptionID string) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient 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 (ServicesClient) CheckNameAvailability

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

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

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (ServicesClient) CheckNameAvailabilityResponder

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

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

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

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

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (ServicesClient) CreateOrUpdateResponder

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

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

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

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

DeletePreparer prepares the Delete request.

func (ServicesClient) DeleteResponder

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

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

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

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

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder

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

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

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

List get all the service instances in a subscription.

func (ServicesClient) ListByResourceGroup

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

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

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ServicesClient) ListByResourceGroupResponder

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

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

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

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

func (ServicesClient) ListPreparer

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

ListPreparer prepares the List request.

func (ServicesClient) ListResponder

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

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

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

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

UpdatePreparer prepares the Update request.

func (ServicesClient) UpdateResponder

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

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

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

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

func (*ServicesCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServicesDeleteFuture

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

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

func (*ServicesDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ServicesDescription

type ServicesDescription struct {
	autorest.Response `json:"-"`
	// Properties - The common properties of a service.
	Properties *ServicesProperties `json:"properties,omitempty"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,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. Possible values include: 'KindFhir', 'KindFhirStu3', 'KindFhirR4'
	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"`
	// Identity - Setting indicating whether the service has a managed identity associated with it.
	Identity *ServicesResourceIdentity `json:"identity,omitempty"`
}

ServicesDescription the description of the service.

func (ServicesDescription) MarshalJSON

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

MarshalJSON is the custom marshaler for ServicesDescription.

type ServicesDescriptionListResult

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

func (sdlr ServicesDescriptionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServicesDescriptionListResultIterator

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

ServicesDescriptionListResultIterator provides access to a complete listing of ServicesDescription values.

func NewServicesDescriptionListResultIterator

func NewServicesDescriptionListResultIterator(page ServicesDescriptionListResultPage) ServicesDescriptionListResultIterator

Creates a new instance of the ServicesDescriptionListResultIterator type.

func (*ServicesDescriptionListResultIterator) Next

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

func (*ServicesDescriptionListResultIterator) NextWithContext

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

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

func (ServicesDescriptionListResultIterator) Response

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

func (ServicesDescriptionListResultIterator) Value

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

type ServicesDescriptionListResultPage

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

ServicesDescriptionListResultPage contains a page of ServicesDescription values.

func NewServicesDescriptionListResultPage

Creates a new instance of the ServicesDescriptionListResultPage type.

func (*ServicesDescriptionListResultPage) Next

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

func (*ServicesDescriptionListResultPage) NextWithContext

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

func (page ServicesDescriptionListResultPage) NotDone() bool

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

func (ServicesDescriptionListResultPage) Response

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

func (ServicesDescriptionListResultPage) Values

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

type ServicesNameAvailabilityInfo

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: 'ServiceNameUnavailabilityReasonInvalid', 'ServiceNameUnavailabilityReasonAlreadyExists'
	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.

func (ServicesNameAvailabilityInfo) MarshalJSON

func (snai ServicesNameAvailabilityInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicesNameAvailabilityInfo.

type ServicesPatchDescription

type ServicesPatchDescription struct {
	// Tags - Instance tags
	Tags map[string]*string `json:"tags"`
	// ServicesPropertiesUpdateParameters - The properties for updating a service instance.
	*ServicesPropertiesUpdateParameters `json:"properties,omitempty"`
}

ServicesPatchDescription the description of the service.

func (ServicesPatchDescription) MarshalJSON

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

MarshalJSON is the custom marshaler for ServicesPatchDescription.

func (*ServicesPatchDescription) UnmarshalJSON

func (spd *ServicesPatchDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServicesPatchDescription struct.

type ServicesProperties

type ServicesProperties struct {
	// ProvisioningState - The provisioning state. Possible values include: 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateCreating', 'ProvisioningStateAccepted', 'ProvisioningStateVerifying', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeprovisioned', 'ProvisioningStateMoving', 'ProvisioningStateSuspended', 'ProvisioningStateWarned', 'ProvisioningStateSystemMaintenance'
	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"`
	// ExportConfiguration - The settings for the export operation of the service instance.
	ExportConfiguration *ServiceExportConfigurationInfo `json:"exportConfiguration,omitempty"`
	// PrivateEndpointConnections - The list of private endpoint connections that are set up for this resource.
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
	// PublicNetworkAccess - Control permission for data plane traffic coming from public networks while private endpoint is enabled. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// AcrConfiguration - The azure container registry settings used for convert data operation of the service instance.
	AcrConfiguration *ServiceAcrConfigurationInfo `json:"acrConfiguration,omitempty"`
}

ServicesProperties the properties of a service instance.

type ServicesPropertiesUpdateParameters

type ServicesPropertiesUpdateParameters struct {
	// PublicNetworkAccess - Control permission for data plane traffic coming from public networks while private endpoint is enabled. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

ServicesPropertiesUpdateParameters the properties for updating a service instance.

type ServicesResource

type ServicesResource 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. Possible values include: 'KindFhir', 'KindFhirStu3', 'KindFhirR4'
	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"`
	// Identity - Setting indicating whether the service has a managed identity associated with it.
	Identity *ServicesResourceIdentity `json:"identity,omitempty"`
}

ServicesResource the common properties of a service.

func (ServicesResource) MarshalJSON

func (sr ServicesResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicesResource.

type ServicesResourceIdentity

type ServicesResourceIdentity struct {
	// PrincipalID - READ-ONLY; The principal ID of the resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - READ-ONLY; The tenant ID of the resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - Type of identity being specified, currently SystemAssigned and None are allowed. Possible values include: 'ManagedServiceIdentityTypeSystemAssigned', 'ManagedServiceIdentityTypeNone'
	Type ManagedServiceIdentityType `json:"type,omitempty"`
}

ServicesResourceIdentity setting indicating whether the service has a managed identity associated with it.

func (ServicesResourceIdentity) MarshalJSON

func (sr ServicesResourceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicesResourceIdentity.

type ServicesUpdateFuture

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

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

func (*ServicesUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type SystemData

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

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

type TaggedResource

type TaggedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
}

TaggedResource the common properties of tracked resources in the service.

func (TaggedResource) MarshalJSON

func (tr TaggedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TaggedResource.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
}

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type Workspace

type Workspace struct {
	autorest.Response `json:"-"`
	// Properties - Workspaces resource specific properties.
	Properties *WorkspaceProperties `json:"properties,omitempty"`
	// SystemData - Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The resource location.
	Location *string `json:"location,omitempty"`
}

Workspace workspace resource.

func (Workspace) MarshalJSON

func (w Workspace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Workspace.

type WorkspaceList

type WorkspaceList struct {
	autorest.Response `json:"-"`
	// NextLink - The link used to get the next page.
	NextLink *string `json:"nextLink,omitempty"`
	// Value - Collection of resources.
	Value *[]Workspace `json:"value,omitempty"`
}

WorkspaceList collection of workspace object with a next link

func (WorkspaceList) IsEmpty

func (wl WorkspaceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type WorkspaceListIterator

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

WorkspaceListIterator provides access to a complete listing of Workspace values.

func NewWorkspaceListIterator

func NewWorkspaceListIterator(page WorkspaceListPage) WorkspaceListIterator

Creates a new instance of the WorkspaceListIterator type.

func (*WorkspaceListIterator) Next

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

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

func (iter WorkspaceListIterator) NotDone() bool

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

func (WorkspaceListIterator) Response

func (iter WorkspaceListIterator) Response() WorkspaceList

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

func (WorkspaceListIterator) Value

func (iter WorkspaceListIterator) Value() Workspace

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

type WorkspaceListPage

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

WorkspaceListPage contains a page of Workspace values.

func NewWorkspaceListPage

func NewWorkspaceListPage(cur WorkspaceList, getNextPage func(context.Context, WorkspaceList) (WorkspaceList, error)) WorkspaceListPage

Creates a new instance of the WorkspaceListPage type.

func (*WorkspaceListPage) Next

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

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

func (page WorkspaceListPage) NotDone() bool

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

func (WorkspaceListPage) Response

func (page WorkspaceListPage) Response() WorkspaceList

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

func (WorkspaceListPage) Values

func (page WorkspaceListPage) Values() []Workspace

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

type WorkspacePatchResource

type WorkspacePatchResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
}

WorkspacePatchResource workspace patch properties

func (WorkspacePatchResource) MarshalJSON

func (wpr WorkspacePatchResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WorkspacePatchResource.

type WorkspaceProperties

type WorkspaceProperties struct {
	// ProvisioningState - The provisioning state. Possible values include: 'ProvisioningStateDeleting', 'ProvisioningStateSucceeded', 'ProvisioningStateCreating', 'ProvisioningStateAccepted', 'ProvisioningStateVerifying', 'ProvisioningStateUpdating', 'ProvisioningStateFailed', 'ProvisioningStateCanceled', 'ProvisioningStateDeprovisioned', 'ProvisioningStateMoving', 'ProvisioningStateSuspended', 'ProvisioningStateWarned', 'ProvisioningStateSystemMaintenance'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

WorkspaceProperties workspaces resource specific properties.

type WorkspacesClient

type WorkspacesClient struct {
	BaseClient
}

WorkspacesClient is the azure Healthcare APIs Client

func NewWorkspacesClient

func NewWorkspacesClient(subscriptionID string) WorkspacesClient

NewWorkspacesClient creates an instance of the WorkspacesClient client.

func NewWorkspacesClientWithBaseURI

func NewWorkspacesClientWithBaseURI(baseURI string, subscriptionID string) WorkspacesClient

NewWorkspacesClientWithBaseURI creates an instance of the WorkspacesClient 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 (WorkspacesClient) CreateOrUpdate

func (client WorkspacesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, workspaceName string, workspace Workspace) (result WorkspacesCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates a workspace resource with the specified parameters. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. workspace - the parameters for creating or updating a healthcare workspace.

func (WorkspacesClient) CreateOrUpdatePreparer

func (client WorkspacesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspace Workspace) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (WorkspacesClient) CreateOrUpdateResponder

func (client WorkspacesClient) CreateOrUpdateResponder(resp *http.Response) (result Workspace, err error)

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

func (WorkspacesClient) CreateOrUpdateSender

func (client WorkspacesClient) CreateOrUpdateSender(req *http.Request) (future WorkspacesCreateOrUpdateFuture, err error)

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

func (WorkspacesClient) Delete

func (client WorkspacesClient) Delete(ctx context.Context, resourceGroupName string, workspaceName string) (result WorkspacesDeleteFuture, err error)

Delete deletes a specified workspace. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource.

func (WorkspacesClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (WorkspacesClient) DeleteResponder

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

func (client WorkspacesClient) DeleteSender(req *http.Request) (future WorkspacesDeleteFuture, err error)

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

func (WorkspacesClient) Get

func (client WorkspacesClient) Get(ctx context.Context, resourceGroupName string, workspaceName string) (result Workspace, err error)

Get gets the properties of the specified workspace. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource.

func (WorkspacesClient) GetPreparer

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

GetPreparer prepares the Get request.

func (WorkspacesClient) GetResponder

func (client WorkspacesClient) GetResponder(resp *http.Response) (result Workspace, err error)

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

func (WorkspacesClient) GetSender

func (client WorkspacesClient) 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 (WorkspacesClient) ListByResourceGroup

func (client WorkspacesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result WorkspaceListPage, err error)

ListByResourceGroup lists all the available workspaces under the specified resource group. Parameters: resourceGroupName - the name of the resource group that contains the service instance.

func (WorkspacesClient) ListByResourceGroupComplete

func (client WorkspacesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result WorkspaceListIterator, err error)

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

func (WorkspacesClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (WorkspacesClient) ListByResourceGroupResponder

func (client WorkspacesClient) ListByResourceGroupResponder(resp *http.Response) (result WorkspaceList, err error)

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

func (WorkspacesClient) ListByResourceGroupSender

func (client WorkspacesClient) 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 (WorkspacesClient) ListBySubscription

func (client WorkspacesClient) ListBySubscription(ctx context.Context) (result WorkspaceListPage, err error)

ListBySubscription lists all the available workspaces under the specified subscription.

func (WorkspacesClient) ListBySubscriptionComplete

func (client WorkspacesClient) ListBySubscriptionComplete(ctx context.Context) (result WorkspaceListIterator, err error)

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

func (WorkspacesClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (WorkspacesClient) ListBySubscriptionResponder

func (client WorkspacesClient) ListBySubscriptionResponder(resp *http.Response) (result WorkspaceList, err error)

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

func (WorkspacesClient) ListBySubscriptionSender

func (client WorkspacesClient) 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 (WorkspacesClient) Update

func (client WorkspacesClient) Update(ctx context.Context, resourceGroupName string, workspaceName string, workspacePatchResource WorkspacePatchResource) (result WorkspacesUpdateFuture, err error)

Update patch workspace details. Parameters: resourceGroupName - the name of the resource group that contains the service instance. workspaceName - the name of workspace resource. workspacePatchResource - the parameters for updating a specified workspace.

func (WorkspacesClient) UpdatePreparer

func (client WorkspacesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, workspaceName string, workspacePatchResource WorkspacePatchResource) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (WorkspacesClient) UpdateResponder

func (client WorkspacesClient) UpdateResponder(resp *http.Response) (result Workspace, err error)

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

func (WorkspacesClient) UpdateSender

func (client WorkspacesClient) UpdateSender(req *http.Request) (future WorkspacesUpdateFuture, err error)

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

type WorkspacesCreateOrUpdateFuture

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

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

func (*WorkspacesCreateOrUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkspacesDeleteFuture

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

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

func (*WorkspacesDeleteFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type WorkspacesUpdateFuture

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

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

func (*WorkspacesUpdateFuture) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaller for CreateFuture.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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