azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/servicefabricmesh/mgmt/2018-07-01-preview/servicefabricmesh Index | Files | Directories

package servicefabricmesh

import "github.com/Azure/azure-sdk-for-go/services/preview/servicefabricmesh/mgmt/2018-07-01-preview/servicefabricmesh"

Package servicefabricmesh implements the Azure ARM Servicefabricmesh service API version 2018-07-01-preview.

Service Fabric Mesh Management Client

Index

Package Files

application.go client.go codepackage.go models.go network.go operations.go replica.go service.go version.go volume.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type ApplicationClient Uses

type ApplicationClient struct {
    BaseClient
}

ApplicationClient is the service Fabric Mesh Management Client

func NewApplicationClient Uses

func NewApplicationClient(subscriptionID string) ApplicationClient

NewApplicationClient creates an instance of the ApplicationClient client.

func NewApplicationClientWithBaseURI Uses

func NewApplicationClientWithBaseURI(baseURI string, subscriptionID string) ApplicationClient

NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client.

func (ApplicationClient) Create Uses

func (client ApplicationClient) Create(ctx context.Context, resourceGroupName string, applicationName string, applicationResourceDescription ApplicationResourceDescription) (result ApplicationResourceDescription, err error)

Create creates an application resource with the specified name and description. If an application with the same name already exists, then its description is updated to the one indicated in this request.

Use network resources to provide public connectivity to the services of an application. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. applicationResourceDescription - description for creating an application resource.

func (ApplicationClient) CreatePreparer Uses

func (client ApplicationClient) CreatePreparer(ctx context.Context, resourceGroupName string, applicationName string, applicationResourceDescription ApplicationResourceDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ApplicationClient) CreateResponder Uses

func (client ApplicationClient) CreateResponder(resp *http.Response) (result ApplicationResourceDescription, err error)

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

func (ApplicationClient) CreateSender Uses

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

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

func (ApplicationClient) Delete Uses

func (client ApplicationClient) Delete(ctx context.Context, resourceGroupName string, applicationName string) (result autorest.Response, err error)

Delete deletes the application resource identified by the name. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application.

func (ApplicationClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (ApplicationClient) DeleteResponder Uses

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

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

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

func (ApplicationClient) Get Uses

func (client ApplicationClient) Get(ctx context.Context, resourceGroupName string, applicationName string) (result ApplicationResourceDescription, err error)

Get gets the information about the application resource with a given name. The information includes the information about the application's services and other runtime properties. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application.

func (ApplicationClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (ApplicationClient) GetResponder Uses

func (client ApplicationClient) GetResponder(resp *http.Response) (result ApplicationResourceDescription, err error)

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

func (ApplicationClient) GetSender Uses

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

func (client ApplicationClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result ApplicationResourceDescriptionListPage, err error)

ListByResourceGroup gets the information about all application resources in a given resource group. The information includes the information about the application's services and other runtime properties. Parameters: resourceGroupName - azure resource group name

func (ApplicationClient) ListByResourceGroupComplete Uses

func (client ApplicationClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result ApplicationResourceDescriptionListIterator, err error)

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

func (ApplicationClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplicationClient) ListByResourceGroupResponder Uses

func (client ApplicationClient) ListByResourceGroupResponder(resp *http.Response) (result ApplicationResourceDescriptionList, err error)

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

func (ApplicationClient) ListByResourceGroupSender Uses

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

func (client ApplicationClient) ListBySubscription(ctx context.Context) (result ApplicationResourceDescriptionListPage, err error)

ListBySubscription gets the information about all application resources in a given subscription. The information includes the information about the application's services and other runtime properties.

func (ApplicationClient) ListBySubscriptionComplete Uses

func (client ApplicationClient) ListBySubscriptionComplete(ctx context.Context) (result ApplicationResourceDescriptionListIterator, err error)

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

func (ApplicationClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ApplicationClient) ListBySubscriptionResponder Uses

func (client ApplicationClient) ListBySubscriptionResponder(resp *http.Response) (result ApplicationResourceDescriptionList, err error)

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

func (ApplicationClient) ListBySubscriptionSender Uses

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

type ApplicationProperties Uses

type ApplicationProperties struct {
    // Description - User readable description of the application.
    Description *string `json:"description,omitempty"`
    // DebugParams - Internal use.
    DebugParams *string `json:"debugParams,omitempty"`
    // Services - describes the services in the application.
    Services *[]ServiceResourceDescription `json:"services,omitempty"`
    // HealthState - READ-ONLY; Describes the health state of an application resource. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
    HealthState HealthState `json:"healthState,omitempty"`
    // UnhealthyEvaluation - READ-ONLY; When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy.
    UnhealthyEvaluation *string `json:"unhealthyEvaluation,omitempty"`
    // Status - READ-ONLY; Status of the application resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
    Status ApplicationResourceStatus `json:"status,omitempty"`
    // StatusDetails - READ-ONLY; Gives additional information about the current status of the application deployment.
    StatusDetails *string `json:"statusDetails,omitempty"`
    // ServiceNames - READ-ONLY; Names of the services in the application.
    ServiceNames *[]string `json:"serviceNames,omitempty"`
    // Diagnostics - Describes the diagnostics definition and usage for an application resource.
    Diagnostics *DiagnosticsDescription `json:"diagnostics,omitempty"`
}

ApplicationProperties this type describes properties of an application resource.

type ApplicationResourceDescription Uses

type ApplicationResourceDescription struct {
    autorest.Response `json:"-"`
    // ApplicationResourceProperties - This type describes properties of an application resource.
    *ApplicationResourceProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Fully qualified identifier 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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
}

ApplicationResourceDescription this type describes an application resource.

func (ApplicationResourceDescription) MarshalJSON Uses

func (ard ApplicationResourceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationResourceDescription.

func (*ApplicationResourceDescription) UnmarshalJSON Uses

func (ard *ApplicationResourceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationResourceDescription struct.

type ApplicationResourceDescriptionList Uses

type ApplicationResourceDescriptionList struct {
    autorest.Response `json:"-"`
    // Value - One page of the list.
    Value *[]ApplicationResourceDescription `json:"value,omitempty"`
    // NextLink - URI to fetch the next page of the list.
    NextLink *string `json:"nextLink,omitempty"`
}

ApplicationResourceDescriptionList a pageable list of application resources.

func (ApplicationResourceDescriptionList) IsEmpty Uses

func (ardl ApplicationResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationResourceDescriptionListIterator Uses

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

ApplicationResourceDescriptionListIterator provides access to a complete listing of ApplicationResourceDescription values.

func NewApplicationResourceDescriptionListIterator Uses

func NewApplicationResourceDescriptionListIterator(page ApplicationResourceDescriptionListPage) ApplicationResourceDescriptionListIterator

Creates a new instance of the ApplicationResourceDescriptionListIterator type.

func (*ApplicationResourceDescriptionListIterator) Next Uses

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

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

func (iter ApplicationResourceDescriptionListIterator) NotDone() bool

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

func (ApplicationResourceDescriptionListIterator) Response Uses

func (iter ApplicationResourceDescriptionListIterator) Response() ApplicationResourceDescriptionList

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

func (ApplicationResourceDescriptionListIterator) Value Uses

func (iter ApplicationResourceDescriptionListIterator) Value() ApplicationResourceDescription

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

type ApplicationResourceDescriptionListPage Uses

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

ApplicationResourceDescriptionListPage contains a page of ApplicationResourceDescription values.

func NewApplicationResourceDescriptionListPage Uses

func NewApplicationResourceDescriptionListPage(getNextPage func(context.Context, ApplicationResourceDescriptionList) (ApplicationResourceDescriptionList, error)) ApplicationResourceDescriptionListPage

Creates a new instance of the ApplicationResourceDescriptionListPage type.

func (*ApplicationResourceDescriptionListPage) Next Uses

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

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

func (page ApplicationResourceDescriptionListPage) NotDone() bool

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

func (ApplicationResourceDescriptionListPage) Response Uses

func (page ApplicationResourceDescriptionListPage) Response() ApplicationResourceDescriptionList

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

func (ApplicationResourceDescriptionListPage) Values Uses

func (page ApplicationResourceDescriptionListPage) Values() []ApplicationResourceDescription

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

type ApplicationResourceProperties Uses

type ApplicationResourceProperties struct {
    // ProvisioningState - READ-ONLY; State of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Description - User readable description of the application.
    Description *string `json:"description,omitempty"`
    // DebugParams - Internal use.
    DebugParams *string `json:"debugParams,omitempty"`
    // Services - describes the services in the application.
    Services *[]ServiceResourceDescription `json:"services,omitempty"`
    // HealthState - READ-ONLY; Describes the health state of an application resource. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
    HealthState HealthState `json:"healthState,omitempty"`
    // UnhealthyEvaluation - READ-ONLY; When the application's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the application is marked unhealthy.
    UnhealthyEvaluation *string `json:"unhealthyEvaluation,omitempty"`
    // Status - READ-ONLY; Status of the application resource. Possible values include: 'Invalid', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
    Status ApplicationResourceStatus `json:"status,omitempty"`
    // StatusDetails - READ-ONLY; Gives additional information about the current status of the application deployment.
    StatusDetails *string `json:"statusDetails,omitempty"`
    // ServiceNames - READ-ONLY; Names of the services in the application.
    ServiceNames *[]string `json:"serviceNames,omitempty"`
    // Diagnostics - Describes the diagnostics definition and usage for an application resource.
    Diagnostics *DiagnosticsDescription `json:"diagnostics,omitempty"`
}

ApplicationResourceProperties this type describes properties of an application resource.

type ApplicationResourceStatus Uses

type ApplicationResourceStatus string

ApplicationResourceStatus enumerates the values for application resource status.

const (
    // Creating ...
    Creating ApplicationResourceStatus = "Creating"
    // Deleting ...
    Deleting ApplicationResourceStatus = "Deleting"
    // Failed ...
    Failed ApplicationResourceStatus = "Failed"
    // Invalid ...
    Invalid ApplicationResourceStatus = "Invalid"
    // Ready ...
    Ready ApplicationResourceStatus = "Ready"
    // Upgrading ...
    Upgrading ApplicationResourceStatus = "Upgrading"
)

func PossibleApplicationResourceStatusValues Uses

func PossibleApplicationResourceStatusValues() []ApplicationResourceStatus

PossibleApplicationResourceStatusValues returns an array of possible values for the ApplicationResourceStatus const type.

type AvailableOperationDisplay Uses

type AvailableOperationDisplay struct {
    // Provider - Name of the operation provider.
    Provider *string `json:"provider,omitempty"`
    // Resource - Name of the resource on which the operation is available.
    Resource *string `json:"resource,omitempty"`
    // Operation - Name of the available operation.
    Operation *string `json:"operation,omitempty"`
    // Description - Description of the available operation.
    Description *string `json:"description,omitempty"`
}

AvailableOperationDisplay an operation available at the listed Azure resource provider.

type AzureInternalMonitoringPipelineSinkDescription Uses

type AzureInternalMonitoringPipelineSinkDescription struct {
    // AccountName - Azure Internal monitoring pipeline account.
    AccountName *string `json:"accountName,omitempty"`
    // Namespace - Azure Internal monitoring pipeline account namespace.
    Namespace *string `json:"namespace,omitempty"`
    // MaConfigURL - Azure Internal monitoring agent configuration.
    MaConfigURL *string `json:"maConfigUrl,omitempty"`
    // FluentdConfigURL - Azure Internal monitoring agent fluentd configuration.
    FluentdConfigURL interface{} `json:"fluentdConfigUrl,omitempty"`
    // AutoKeyConfigURL - Azure Internal monitoring pipeline autokey associated with the certificate.
    AutoKeyConfigURL *string `json:"autoKeyConfigUrl,omitempty"`
    // Name - Name of the sink. This value is referenced by DiagnosticsReferenceDescription
    Name *string `json:"name,omitempty"`
    // Description - A description of the sink.
    Description *string `json:"description,omitempty"`
    // Kind - Possible values include: 'KindDiagnosticsSinkProperties', 'KindAzureInternalMonitoringPipeline'
    Kind Kind `json:"kind,omitempty"`
}

AzureInternalMonitoringPipelineSinkDescription diagnostics settings for Geneva.

func (AzureInternalMonitoringPipelineSinkDescription) AsAzureInternalMonitoringPipelineSinkDescription Uses

func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsAzureInternalMonitoringPipelineSinkDescription() (*AzureInternalMonitoringPipelineSinkDescription, bool)

AsAzureInternalMonitoringPipelineSinkDescription is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) AsBasicDiagnosticsSinkProperties Uses

func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsBasicDiagnosticsSinkProperties() (BasicDiagnosticsSinkProperties, bool)

AsBasicDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) AsDiagnosticsSinkProperties Uses

func (aimpsd AzureInternalMonitoringPipelineSinkDescription) AsDiagnosticsSinkProperties() (*DiagnosticsSinkProperties, bool)

AsDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) MarshalJSON Uses

func (aimpsd AzureInternalMonitoringPipelineSinkDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureInternalMonitoringPipelineSinkDescription.

type BaseClient Uses

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

BaseClient is the base client for Servicefabricmesh.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicDiagnosticsSinkProperties Uses

type BasicDiagnosticsSinkProperties interface {
    AsAzureInternalMonitoringPipelineSinkDescription() (*AzureInternalMonitoringPipelineSinkDescription, bool)
    AsDiagnosticsSinkProperties() (*DiagnosticsSinkProperties, bool)
}

BasicDiagnosticsSinkProperties properties of a DiagnosticsSink.

type CodePackageClient Uses

type CodePackageClient struct {
    BaseClient
}

CodePackageClient is the service Fabric Mesh Management Client

func NewCodePackageClient Uses

func NewCodePackageClient(subscriptionID string) CodePackageClient

NewCodePackageClient creates an instance of the CodePackageClient client.

func NewCodePackageClientWithBaseURI Uses

func NewCodePackageClientWithBaseURI(baseURI string, subscriptionID string) CodePackageClient

NewCodePackageClientWithBaseURI creates an instance of the CodePackageClient client.

func (CodePackageClient) GetContainerLog Uses

func (client CodePackageClient) GetContainerLog(ctx context.Context, resourceGroupName string, applicationName string, serviceName string, replicaName string, codePackageName string, tail *int32) (result ContainerLogs, err error)

GetContainerLog get the logs for the container of a given code package of an application. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. serviceName - the identity of the service. replicaName - the identity of the service replica. codePackageName - the name of the code package. tail - number of lines to show from the end of the logs. Default is 100.

func (CodePackageClient) GetContainerLogPreparer Uses

func (client CodePackageClient) GetContainerLogPreparer(ctx context.Context, resourceGroupName string, applicationName string, serviceName string, replicaName string, codePackageName string, tail *int32) (*http.Request, error)

GetContainerLogPreparer prepares the GetContainerLog request.

func (CodePackageClient) GetContainerLogResponder Uses

func (client CodePackageClient) GetContainerLogResponder(resp *http.Response) (result ContainerLogs, err error)

GetContainerLogResponder handles the response to the GetContainerLog request. The method always closes the http.Response Body.

func (CodePackageClient) GetContainerLogSender Uses

func (client CodePackageClient) GetContainerLogSender(req *http.Request) (*http.Response, error)

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

type ContainerCodePackageProperties Uses

type ContainerCodePackageProperties struct {
    // Name - The name of the code package.
    Name *string `json:"name,omitempty"`
    // Image - The Container image to use.
    Image *string `json:"image,omitempty"`
    // ImageRegistryCredential - Image registry credential.
    ImageRegistryCredential *ImageRegistryCredential `json:"imageRegistryCredential,omitempty"`
    // Entrypoint - Override for the default entry point in the container.
    Entrypoint *string `json:"entrypoint,omitempty"`
    // Commands - Command array to execute within the container in exec form.
    Commands *[]string `json:"commands,omitempty"`
    // EnvironmentVariables - The environment variables to set in this container
    EnvironmentVariables *[]EnvironmentVariable `json:"environmentVariables,omitempty"`
    // Settings - The settings to set in this container. The setting file path can be fetched from environment variable "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The path for Linux container is "/var/secrets".
    Settings *[]Setting `json:"settings,omitempty"`
    // Labels - The labels to set in this container.
    Labels *[]ContainerLabel `json:"labels,omitempty"`
    // Endpoints - The endpoints exposed by this container.
    Endpoints *[]EndpointProperties `json:"endpoints,omitempty"`
    // Resources - This type describes the resource requirements for a container or a service.
    Resources *ResourceRequirements `json:"resources,omitempty"`
    // VolumeRefs - The volumes to be attached to the container.
    VolumeRefs *[]ContainerVolume `json:"volumeRefs,omitempty"`
    // InstanceView - READ-ONLY; Runtime information of a container instance.
    InstanceView *ContainerInstanceView `json:"instanceView,omitempty"`
    // Diagnostics - Reference to sinks in DiagnosticsDescription.
    Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"`
}

ContainerCodePackageProperties describes a container and its runtime properties.

type ContainerEvent Uses

type ContainerEvent struct {
    // Name - The name of the container event.
    Name *string `json:"name,omitempty"`
    // Count - The count of the event.
    Count *int32 `json:"count,omitempty"`
    // FirstTimestamp - Date/time of the first event.
    FirstTimestamp *string `json:"firstTimestamp,omitempty"`
    // LastTimestamp - Date/time of the last event.
    LastTimestamp *string `json:"lastTimestamp,omitempty"`
    // Message - The event message
    Message *string `json:"message,omitempty"`
    // Type - The event type.
    Type *string `json:"type,omitempty"`
}

ContainerEvent a container event.

type ContainerInstanceView Uses

type ContainerInstanceView struct {
    // RestartCount - The number of times the container has been restarted.
    RestartCount *int32 `json:"restartCount,omitempty"`
    // CurrentState - Current container instance state.
    CurrentState *ContainerState `json:"currentState,omitempty"`
    // PreviousState - Previous container instance state.
    PreviousState *ContainerState `json:"previousState,omitempty"`
    // Events - The events of this container instance.
    Events *[]ContainerEvent `json:"events,omitempty"`
}

ContainerInstanceView runtime information of a container instance.

type ContainerLabel Uses

type ContainerLabel struct {
    // Name - The name of the container label.
    Name *string `json:"name,omitempty"`
    // Value - The value of the container label.
    Value *string `json:"value,omitempty"`
}

ContainerLabel describes a container label.

type ContainerLogs Uses

type ContainerLogs struct {
    autorest.Response `json:"-"`
    // Content - content of the log.
    Content *string `json:"content,omitempty"`
}

ContainerLogs the logs of the container.

type ContainerState Uses

type ContainerState struct {
    // State - The state of this container
    State *string `json:"state,omitempty"`
    // StartTime - Date/time when the container state started.
    StartTime *date.Time `json:"startTime,omitempty"`
    // ExitCode - The container exit code.
    ExitCode *string `json:"exitCode,omitempty"`
    // FinishTime - Date/time when the container state finished.
    FinishTime *date.Time `json:"finishTime,omitempty"`
    // DetailStatus - Human-readable status of this state.
    DetailStatus *string `json:"detailStatus,omitempty"`
}

ContainerState the container state.

type ContainerVolume Uses

type ContainerVolume struct {
    // Name - Name of the volume.
    Name *string `json:"name,omitempty"`
    // ReadOnly - The flag indicating whether the volume is read only. Default is 'false'.
    ReadOnly *bool `json:"readOnly,omitempty"`
    // DestinationPath - The path within the container at which the volume should be mounted. Only valid path characters are allowed.
    DestinationPath *string `json:"destinationPath,omitempty"`
}

ContainerVolume describes how a volume is attached to a container.

type DiagnosticsDescription Uses

type DiagnosticsDescription struct {
    // Sinks - List of supported sinks that can be referenced.
    Sinks *[]BasicDiagnosticsSinkProperties `json:"sinks,omitempty"`
    // Enabled - Status of whether or not sinks are enabled.
    Enabled *bool `json:"enabled,omitempty"`
    // DefaultSinkRefs - The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level.
    DefaultSinkRefs *[]string `json:"defaultSinkRefs,omitempty"`
}

DiagnosticsDescription describes the diagnostics options available

func (*DiagnosticsDescription) UnmarshalJSON Uses

func (dd *DiagnosticsDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DiagnosticsDescription struct.

type DiagnosticsRef Uses

type DiagnosticsRef struct {
    // Enabled - Status of whether or not sinks are enabled.
    Enabled *bool `json:"enabled,omitempty"`
    // SinkRefs - List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription.
    SinkRefs *[]string `json:"sinkRefs,omitempty"`
}

DiagnosticsRef reference to sinks in DiagnosticsDescription.

type DiagnosticsSinkKind Uses

type DiagnosticsSinkKind string

DiagnosticsSinkKind enumerates the values for diagnostics sink kind.

const (
    // DiagnosticsSinkKindAzureInternalMonitoringPipeline Diagnostics settings for Geneva.
    DiagnosticsSinkKindAzureInternalMonitoringPipeline DiagnosticsSinkKind = "AzureInternalMonitoringPipeline"
    // DiagnosticsSinkKindInvalid Indicates an invalid sink kind. All Service Fabric enumerations have the
    // invalid type.
    DiagnosticsSinkKindInvalid DiagnosticsSinkKind = "Invalid"
)

func PossibleDiagnosticsSinkKindValues Uses

func PossibleDiagnosticsSinkKindValues() []DiagnosticsSinkKind

PossibleDiagnosticsSinkKindValues returns an array of possible values for the DiagnosticsSinkKind const type.

type DiagnosticsSinkProperties Uses

type DiagnosticsSinkProperties struct {
    // Name - Name of the sink. This value is referenced by DiagnosticsReferenceDescription
    Name *string `json:"name,omitempty"`
    // Description - A description of the sink.
    Description *string `json:"description,omitempty"`
    // Kind - Possible values include: 'KindDiagnosticsSinkProperties', 'KindAzureInternalMonitoringPipeline'
    Kind Kind `json:"kind,omitempty"`
}

DiagnosticsSinkProperties properties of a DiagnosticsSink.

func (DiagnosticsSinkProperties) AsAzureInternalMonitoringPipelineSinkDescription Uses

func (dsp DiagnosticsSinkProperties) AsAzureInternalMonitoringPipelineSinkDescription() (*AzureInternalMonitoringPipelineSinkDescription, bool)

AsAzureInternalMonitoringPipelineSinkDescription is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) AsBasicDiagnosticsSinkProperties Uses

func (dsp DiagnosticsSinkProperties) AsBasicDiagnosticsSinkProperties() (BasicDiagnosticsSinkProperties, bool)

AsBasicDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) AsDiagnosticsSinkProperties Uses

func (dsp DiagnosticsSinkProperties) AsDiagnosticsSinkProperties() (*DiagnosticsSinkProperties, bool)

AsDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DiagnosticsSinkProperties.

type EndpointProperties Uses

type EndpointProperties struct {
    // Name - The name of the endpoint.
    Name *string `json:"name,omitempty"`
    // Port - Port used by the container.
    Port *int32 `json:"port,omitempty"`
}

EndpointProperties describes a container endpoint.

type EnvironmentVariable Uses

type EnvironmentVariable struct {
    // Name - The name of the environment variable.
    Name *string `json:"name,omitempty"`
    // Value - The value of the environment variable.
    Value *string `json:"value,omitempty"`
}

EnvironmentVariable describes an environment variable for the container.

type ErrorModel Uses

type ErrorModel struct {
    // Code - The error code.
    Code *string `json:"code,omitempty"`
    // Message - The error message.
    Message *string `json:"message,omitempty"`
}

ErrorModel the error details.

type HealthState Uses

type HealthState string

HealthState enumerates the values for health state.

const (
    // HealthStateError Indicates the health state is at an error level. Error health state should be
    // investigated, as they can impact the correct functionality of the cluster. The value is 3.
    HealthStateError HealthState = "Error"
    // HealthStateInvalid Indicates an invalid health state. All Service Fabric enumerations have the invalid
    // type. The value is zero.
    HealthStateInvalid HealthState = "Invalid"
    // HealthStateOk Indicates the health state is okay. The value is 1.
    HealthStateOk HealthState = "Ok"
    // HealthStateUnknown Indicates an unknown health status. The value is 65535.
    HealthStateUnknown HealthState = "Unknown"
    // HealthStateWarning Indicates the health state is at a warning level. The value is 2.
    HealthStateWarning HealthState = "Warning"
)

func PossibleHealthStateValues Uses

func PossibleHealthStateValues() []HealthState

PossibleHealthStateValues returns an array of possible values for the HealthState const type.

type ImageRegistryCredential Uses

type ImageRegistryCredential struct {
    // Server - Docker image registry server, without protocol such as `http` and `https`.
    Server *string `json:"server,omitempty"`
    // Username - The username for the private registry.
    Username *string `json:"username,omitempty"`
    // Password - The password for the private registry.
    Password *string `json:"password,omitempty"`
}

ImageRegistryCredential image registry credential.

type IngressConfig Uses

type IngressConfig struct {
    // QosLevel - The QoS tier for ingress. Possible values include: 'Bronze'
    QosLevel IngressQoSLevel `json:"qosLevel,omitempty"`
    // Layer4 - Configuration for layer4 public connectivity for this network.
    Layer4 *[]Layer4IngressConfig `json:"layer4,omitempty"`
    // PublicIPAddress - READ-ONLY; The public IP address for reaching this network.
    PublicIPAddress *string `json:"publicIPAddress,omitempty"`
}

IngressConfig describes public connectivity configuration for the network.

type IngressQoSLevel Uses

type IngressQoSLevel string

IngressQoSLevel enumerates the values for ingress qo s level.

const (
    // Bronze ...
    Bronze IngressQoSLevel = "Bronze"
)

func PossibleIngressQoSLevelValues Uses

func PossibleIngressQoSLevelValues() []IngressQoSLevel

PossibleIngressQoSLevelValues returns an array of possible values for the IngressQoSLevel const type.

type Kind Uses

type Kind string

Kind enumerates the values for kind.

const (
    // KindAzureInternalMonitoringPipeline ...
    KindAzureInternalMonitoringPipeline Kind = "AzureInternalMonitoringPipeline"
    // KindDiagnosticsSinkProperties ...
    KindDiagnosticsSinkProperties Kind = "DiagnosticsSinkProperties"
)

func PossibleKindValues Uses

func PossibleKindValues() []Kind

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

type Layer4IngressConfig Uses

type Layer4IngressConfig struct {
    // Name - Layer4 ingress config name.
    Name *string `json:"name,omitempty"`
    // PublicPort - Specifies the public port at which the service endpoint below needs to be exposed.
    PublicPort *int32 `json:"publicPort,omitempty"`
    // ApplicationName - The application name which contains the service to be exposed.
    ApplicationName *string `json:"applicationName,omitempty"`
    // ServiceName - The service whose endpoint needs to be exposed at the public port.
    ServiceName *string `json:"serviceName,omitempty"`
    // EndpointName - The service endpoint that needs to be exposed.
    EndpointName *string `json:"endpointName,omitempty"`
}

Layer4IngressConfig describes the layer4 configuration for public connectivity for this network.

type ManagedProxyResource Uses

type ManagedProxyResource struct {
    // ID - READ-ONLY; Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

ManagedProxyResource the resource model definition for Azure Resource Manager proxy resource. It will have everything other than required location and tags. This proxy resource is explicitly created or updated by including it in the parent resource.

type NetworkClient Uses

type NetworkClient struct {
    BaseClient
}

NetworkClient is the service Fabric Mesh Management Client

func NewNetworkClient Uses

func NewNetworkClient(subscriptionID string) NetworkClient

NewNetworkClient creates an instance of the NetworkClient client.

func NewNetworkClientWithBaseURI Uses

func NewNetworkClientWithBaseURI(baseURI string, subscriptionID string) NetworkClient

NewNetworkClientWithBaseURI creates an instance of the NetworkClient client.

func (NetworkClient) Create Uses

func (client NetworkClient) Create(ctx context.Context, resourceGroupName string, networkName string, networkResourceDescription NetworkResourceDescription) (result NetworkResourceDescription, err error)

Create creates a network resource with the specified name and description. If a network with the same name already exists, then its description is updated to the one indicated in this request.

Use network resources to create private network and configure public connectivity for services within your application. Parameters: resourceGroupName - azure resource group name networkName - the identity of the network. networkResourceDescription - description for creating a network resource.

func (NetworkClient) CreatePreparer Uses

func (client NetworkClient) CreatePreparer(ctx context.Context, resourceGroupName string, networkName string, networkResourceDescription NetworkResourceDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (NetworkClient) CreateResponder Uses

func (client NetworkClient) CreateResponder(resp *http.Response) (result NetworkResourceDescription, err error)

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

func (NetworkClient) CreateSender Uses

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

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

func (NetworkClient) Delete Uses

func (client NetworkClient) Delete(ctx context.Context, resourceGroupName string, networkName string) (result autorest.Response, err error)

Delete deletes the network resource identified by the name. Parameters: resourceGroupName - azure resource group name networkName - the identity of the network.

func (NetworkClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (NetworkClient) DeleteResponder Uses

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

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

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

func (NetworkClient) Get Uses

func (client NetworkClient) Get(ctx context.Context, resourceGroupName string, networkName string) (result NetworkResourceDescription, err error)

Get gets the information about the network resource with a given name. This information includes the network description and other runtime information. Parameters: resourceGroupName - azure resource group name networkName - the identity of the network.

func (NetworkClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (NetworkClient) GetResponder Uses

func (client NetworkClient) GetResponder(resp *http.Response) (result NetworkResourceDescription, err error)

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

func (NetworkClient) GetSender Uses

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

func (client NetworkClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result NetworkResourceDescriptionListPage, err error)

ListByResourceGroup gets the information about all network resources in a given resource group. The information includes the network description and other runtime properties. Parameters: resourceGroupName - azure resource group name

func (NetworkClient) ListByResourceGroupComplete Uses

func (client NetworkClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result NetworkResourceDescriptionListIterator, err error)

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

func (NetworkClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (NetworkClient) ListByResourceGroupResponder Uses

func (client NetworkClient) ListByResourceGroupResponder(resp *http.Response) (result NetworkResourceDescriptionList, err error)

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

func (NetworkClient) ListByResourceGroupSender Uses

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

func (client NetworkClient) ListBySubscription(ctx context.Context) (result NetworkResourceDescriptionListPage, err error)

ListBySubscription gets the information about all network resources in a given subscription. The information includes the network description and other runtime properties.

func (NetworkClient) ListBySubscriptionComplete Uses

func (client NetworkClient) ListBySubscriptionComplete(ctx context.Context) (result NetworkResourceDescriptionListIterator, err error)

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

func (NetworkClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (NetworkClient) ListBySubscriptionResponder Uses

func (client NetworkClient) ListBySubscriptionResponder(resp *http.Response) (result NetworkResourceDescriptionList, err error)

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

func (NetworkClient) ListBySubscriptionSender Uses

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

type NetworkProperties Uses

type NetworkProperties struct {
    // Description - User readable description of the network.
    Description *string `json:"description,omitempty"`
    // AddressPrefix - the address prefix for this network.
    AddressPrefix *string `json:"addressPrefix,omitempty"`
    // IngressConfig - Configuration for public connectivity for this network.
    IngressConfig *IngressConfig `json:"ingressConfig,omitempty"`
}

NetworkProperties describes a network.

type NetworkRef Uses

type NetworkRef struct {
    // Name - Name of the network.
    Name *string `json:"name,omitempty"`
}

NetworkRef describes a network reference in a service.

type NetworkResourceDescription Uses

type NetworkResourceDescription struct {
    autorest.Response `json:"-"`
    // NetworkResourceProperties - Describes properties of a network resource.
    *NetworkResourceProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Fully qualified identifier 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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
}

NetworkResourceDescription this type describes a network resource.

func (NetworkResourceDescription) MarshalJSON Uses

func (nrd NetworkResourceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkResourceDescription.

func (*NetworkResourceDescription) UnmarshalJSON Uses

func (nrd *NetworkResourceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for NetworkResourceDescription struct.

type NetworkResourceDescriptionList Uses

type NetworkResourceDescriptionList struct {
    autorest.Response `json:"-"`
    // Value - One page of the list.
    Value *[]NetworkResourceDescription `json:"value,omitempty"`
    // NextLink - URI to fetch the next page of the list.
    NextLink *string `json:"nextLink,omitempty"`
}

NetworkResourceDescriptionList a pageable list of network resources.

func (NetworkResourceDescriptionList) IsEmpty Uses

func (nrdl NetworkResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type NetworkResourceDescriptionListIterator Uses

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

NetworkResourceDescriptionListIterator provides access to a complete listing of NetworkResourceDescription values.

func NewNetworkResourceDescriptionListIterator Uses

func NewNetworkResourceDescriptionListIterator(page NetworkResourceDescriptionListPage) NetworkResourceDescriptionListIterator

Creates a new instance of the NetworkResourceDescriptionListIterator type.

func (*NetworkResourceDescriptionListIterator) Next Uses

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

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

func (iter NetworkResourceDescriptionListIterator) NotDone() bool

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

func (NetworkResourceDescriptionListIterator) Response Uses

func (iter NetworkResourceDescriptionListIterator) Response() NetworkResourceDescriptionList

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

func (NetworkResourceDescriptionListIterator) Value Uses

func (iter NetworkResourceDescriptionListIterator) Value() NetworkResourceDescription

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

type NetworkResourceDescriptionListPage Uses

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

NetworkResourceDescriptionListPage contains a page of NetworkResourceDescription values.

func NewNetworkResourceDescriptionListPage Uses

func NewNetworkResourceDescriptionListPage(getNextPage func(context.Context, NetworkResourceDescriptionList) (NetworkResourceDescriptionList, error)) NetworkResourceDescriptionListPage

Creates a new instance of the NetworkResourceDescriptionListPage type.

func (*NetworkResourceDescriptionListPage) Next Uses

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

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

func (page NetworkResourceDescriptionListPage) NotDone() bool

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

func (NetworkResourceDescriptionListPage) Response Uses

func (page NetworkResourceDescriptionListPage) Response() NetworkResourceDescriptionList

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

func (NetworkResourceDescriptionListPage) Values Uses

func (page NetworkResourceDescriptionListPage) Values() []NetworkResourceDescription

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

type NetworkResourceProperties Uses

type NetworkResourceProperties struct {
    // ProvisioningState - READ-ONLY; State of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Description - User readable description of the network.
    Description *string `json:"description,omitempty"`
    // AddressPrefix - the address prefix for this network.
    AddressPrefix *string `json:"addressPrefix,omitempty"`
    // IngressConfig - Configuration for public connectivity for this network.
    IngressConfig *IngressConfig `json:"ingressConfig,omitempty"`
}

NetworkResourceProperties describes properties of a network resource.

type OperatingSystemTypes Uses

type OperatingSystemTypes string

OperatingSystemTypes enumerates the values for operating system types.

const (
    // Linux ...
    Linux OperatingSystemTypes = "Linux"
    // Windows ...
    Windows OperatingSystemTypes = "Windows"
)

func PossibleOperatingSystemTypesValues Uses

func PossibleOperatingSystemTypesValues() []OperatingSystemTypes

PossibleOperatingSystemTypesValues returns an array of possible values for the OperatingSystemTypes const type.

type OperationListResult Uses

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

OperationListResult describes the result of the request to list Service Fabric operations.

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of OperationResult values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

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

func (*OperationListResultIterator) NextWithContext Uses

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

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

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() OperationResult

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of OperationResult values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

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

func (*OperationListResultPage) NextWithContext Uses

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

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

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []OperationResult

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

type OperationResult Uses

type OperationResult struct {
    // Name - The name of the operation.
    Name *string `json:"name,omitempty"`
    // Display - The object that represents the operation.
    Display *AvailableOperationDisplay `json:"display,omitempty"`
    // Origin - Origin result
    Origin *string `json:"origin,omitempty"`
    // NextLink - The URL to use for getting the next set of results.
    NextLink *string `json:"nextLink,omitempty"`
}

OperationResult list of operations available at the listed Azure resource provider.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the service Fabric Mesh Management Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

List lists all the available operations provided by Service Fabric SeaBreeze resource provider.

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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

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

func (OperationsClient) ListSender Uses

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

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

type ProvisionedResourceProperties Uses

type ProvisionedResourceProperties struct {
    // ProvisioningState - READ-ONLY; State of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
}

ProvisionedResourceProperties describes common properties of a provisioned resource.

type ProxyResource Uses

type ProxyResource struct {
    // ID - READ-ONLY; Fully qualified identifier 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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
}

ProxyResource the resource model definition for Azure Resource Manager proxy resource. It will have everything other than required location and tags.

type ReplicaClient Uses

type ReplicaClient struct {
    BaseClient
}

ReplicaClient is the service Fabric Mesh Management Client

func NewReplicaClient Uses

func NewReplicaClient(subscriptionID string) ReplicaClient

NewReplicaClient creates an instance of the ReplicaClient client.

func NewReplicaClientWithBaseURI Uses

func NewReplicaClientWithBaseURI(baseURI string, subscriptionID string) ReplicaClient

NewReplicaClientWithBaseURI creates an instance of the ReplicaClient client.

func (ReplicaClient) Get Uses

func (client ReplicaClient) Get(ctx context.Context, resourceGroupName string, applicationName string, serviceName string, replicaName string) (result ServiceReplicaDescription, err error)

Get gets the information about the specified replica of a given service of an application. The information includes the runtime properties of the replica instance. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. serviceName - the identity of the service. replicaName - the identity of the service replica.

func (ReplicaClient) GetPreparer Uses

func (client ReplicaClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string, serviceName string, replicaName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicaClient) GetResponder Uses

func (client ReplicaClient) GetResponder(resp *http.Response) (result ServiceReplicaDescription, err error)

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

func (ReplicaClient) GetSender Uses

func (client ReplicaClient) 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 (ReplicaClient) ListByServiceName Uses

func (client ReplicaClient) ListByServiceName(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (result ServiceReplicaListPage, err error)

ListByServiceName gets the information about all replicas of a given service of an application. The information includes the runtime properties of the replica instance. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. serviceName - the identity of the service.

func (ReplicaClient) ListByServiceNameComplete Uses

func (client ReplicaClient) ListByServiceNameComplete(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (result ServiceReplicaListIterator, err error)

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

func (ReplicaClient) ListByServiceNamePreparer Uses

func (client ReplicaClient) ListByServiceNamePreparer(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (*http.Request, error)

ListByServiceNamePreparer prepares the ListByServiceName request.

func (ReplicaClient) ListByServiceNameResponder Uses

func (client ReplicaClient) ListByServiceNameResponder(resp *http.Response) (result ServiceReplicaList, err error)

ListByServiceNameResponder handles the response to the ListByServiceName request. The method always closes the http.Response Body.

func (ReplicaClient) ListByServiceNameSender Uses

func (client ReplicaClient) ListByServiceNameSender(req *http.Request) (*http.Response, error)

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

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Fully qualified identifier 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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
}

Resource the resource model definition for Azure Resource Manager resource.

type ResourceLimits Uses

type ResourceLimits struct {
    // MemoryInGB - The memory limit in GB.
    MemoryInGB *float64 `json:"memoryInGB,omitempty"`
    // CPU - CPU limits in cores. At present, only full cores are supported.
    CPU *float64 `json:"cpu,omitempty"`
}

ResourceLimits this type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted.

type ResourceRequests Uses

type ResourceRequests struct {
    // MemoryInGB - The memory request in GB for this container.
    MemoryInGB *float64 `json:"memoryInGB,omitempty"`
    // CPU - Requested number of CPU cores. At present, only full cores are supported.
    CPU *float64 `json:"cpu,omitempty"`
}

ResourceRequests this type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.

type ResourceRequirements Uses

type ResourceRequirements struct {
    // Requests - Describes the requested resources for a given container.
    Requests *ResourceRequests `json:"requests,omitempty"`
    // Limits - Describes the maximum limits on the resources for a given container.
    Limits *ResourceLimits `json:"limits,omitempty"`
}

ResourceRequirements this type describes the resource requirements for a container or a service.

type ServiceClient Uses

type ServiceClient struct {
    BaseClient
}

ServiceClient is the service Fabric Mesh Management Client

func NewServiceClient Uses

func NewServiceClient(subscriptionID string) ServiceClient

NewServiceClient creates an instance of the ServiceClient client.

func NewServiceClientWithBaseURI Uses

func NewServiceClientWithBaseURI(baseURI string, subscriptionID string) ServiceClient

NewServiceClientWithBaseURI creates an instance of the ServiceClient client.

func (ServiceClient) Get Uses

func (client ServiceClient) Get(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (result ServiceResourceDescription, err error)

Get the operation returns the properties of the service. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application. serviceName - the identity of the service.

func (ServiceClient) GetPreparer Uses

func (client ServiceClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationName string, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceClient) GetResponder Uses

func (client ServiceClient) GetResponder(resp *http.Response) (result ServiceResourceDescription, err error)

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

func (ServiceClient) GetSender Uses

func (client ServiceClient) 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 (ServiceClient) ListByApplicationName Uses

func (client ServiceClient) ListByApplicationName(ctx context.Context, resourceGroupName string, applicationName string) (result ServiceListPage, err error)

ListByApplicationName gets the information about all services of a given service of an application. The information includes the runtime properties of the service instance. Parameters: resourceGroupName - azure resource group name applicationName - the identity of the application.

func (ServiceClient) ListByApplicationNameComplete Uses

func (client ServiceClient) ListByApplicationNameComplete(ctx context.Context, resourceGroupName string, applicationName string) (result ServiceListIterator, err error)

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

func (ServiceClient) ListByApplicationNamePreparer Uses

func (client ServiceClient) ListByApplicationNamePreparer(ctx context.Context, resourceGroupName string, applicationName string) (*http.Request, error)

ListByApplicationNamePreparer prepares the ListByApplicationName request.

func (ServiceClient) ListByApplicationNameResponder Uses

func (client ServiceClient) ListByApplicationNameResponder(resp *http.Response) (result ServiceList, err error)

ListByApplicationNameResponder handles the response to the ListByApplicationName request. The method always closes the http.Response Body.

func (ServiceClient) ListByApplicationNameSender Uses

func (client ServiceClient) ListByApplicationNameSender(req *http.Request) (*http.Response, error)

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

type ServiceList Uses

type ServiceList struct {
    autorest.Response `json:"-"`
    // Value - One page of the list.
    Value *[]ServiceResourceDescription `json:"value,omitempty"`
    // NextLink - URI to fetch the next page of the list.
    NextLink *string `json:"nextLink,omitempty"`
}

ServiceList a pageable list of all services in an application.

func (ServiceList) IsEmpty Uses

func (sl ServiceList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceListIterator Uses

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

ServiceListIterator provides access to a complete listing of ServiceResourceDescription values.

func NewServiceListIterator Uses

func NewServiceListIterator(page ServiceListPage) ServiceListIterator

Creates a new instance of the ServiceListIterator type.

func (*ServiceListIterator) Next Uses

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

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

func (iter ServiceListIterator) NotDone() bool

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

func (ServiceListIterator) Response Uses

func (iter ServiceListIterator) Response() ServiceList

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

func (ServiceListIterator) Value Uses

func (iter ServiceListIterator) Value() ServiceResourceDescription

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

type ServiceListPage Uses

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

ServiceListPage contains a page of ServiceResourceDescription values.

func NewServiceListPage Uses

func NewServiceListPage(getNextPage func(context.Context, ServiceList) (ServiceList, error)) ServiceListPage

Creates a new instance of the ServiceListPage type.

func (*ServiceListPage) Next Uses

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

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

func (page ServiceListPage) NotDone() bool

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

func (ServiceListPage) Response Uses

func (page ServiceListPage) Response() ServiceList

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

func (ServiceListPage) Values Uses

func (page ServiceListPage) Values() []ServiceResourceDescription

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

type ServiceReplicaDescription Uses

type ServiceReplicaDescription struct {
    autorest.Response `json:"-"`
    // ReplicaName - Name of the replica.
    ReplicaName *string `json:"replicaName,omitempty"`
    // OsType - The Operating system type required by the code in service.
    // . Possible values include: 'Linux', 'Windows'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // CodePackages - Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).
    CodePackages *[]ContainerCodePackageProperties `json:"codePackages,omitempty"`
    // NetworkRefs - The names of the private networks that this service needs to be part of.
    NetworkRefs *[]NetworkRef `json:"networkRefs,omitempty"`
    // Diagnostics - Reference to sinks in DiagnosticsDescription.
    Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"`
}

ServiceReplicaDescription this type describes a replica of a service resource.

type ServiceReplicaList Uses

type ServiceReplicaList struct {
    autorest.Response `json:"-"`
    // Value - One page of the list.
    Value *[]ServiceReplicaDescription `json:"value,omitempty"`
    // NextLink - URI to fetch the next page of the list.
    NextLink *string `json:"nextLink,omitempty"`
}

ServiceReplicaList a pageable list of replicas of a service resource.

func (ServiceReplicaList) IsEmpty Uses

func (srl ServiceReplicaList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceReplicaListIterator Uses

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

ServiceReplicaListIterator provides access to a complete listing of ServiceReplicaDescription values.

func NewServiceReplicaListIterator Uses

func NewServiceReplicaListIterator(page ServiceReplicaListPage) ServiceReplicaListIterator

Creates a new instance of the ServiceReplicaListIterator type.

func (*ServiceReplicaListIterator) Next Uses

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

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

func (iter ServiceReplicaListIterator) NotDone() bool

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

func (ServiceReplicaListIterator) Response Uses

func (iter ServiceReplicaListIterator) Response() ServiceReplicaList

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

func (ServiceReplicaListIterator) Value Uses

func (iter ServiceReplicaListIterator) Value() ServiceReplicaDescription

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

type ServiceReplicaListPage Uses

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

ServiceReplicaListPage contains a page of ServiceReplicaDescription values.

func NewServiceReplicaListPage Uses

func NewServiceReplicaListPage(getNextPage func(context.Context, ServiceReplicaList) (ServiceReplicaList, error)) ServiceReplicaListPage

Creates a new instance of the ServiceReplicaListPage type.

func (*ServiceReplicaListPage) Next Uses

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

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

func (page ServiceReplicaListPage) NotDone() bool

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

func (ServiceReplicaListPage) Response Uses

func (page ServiceReplicaListPage) Response() ServiceReplicaList

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

func (ServiceReplicaListPage) Values Uses

func (page ServiceReplicaListPage) Values() []ServiceReplicaDescription

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

type ServiceReplicaProperties Uses

type ServiceReplicaProperties struct {
    // OsType - The Operating system type required by the code in service.
    // . Possible values include: 'Linux', 'Windows'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // CodePackages - Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).
    CodePackages *[]ContainerCodePackageProperties `json:"codePackages,omitempty"`
    // NetworkRefs - The names of the private networks that this service needs to be part of.
    NetworkRefs *[]NetworkRef `json:"networkRefs,omitempty"`
    // Diagnostics - Reference to sinks in DiagnosticsDescription.
    Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"`
}

ServiceReplicaProperties describes the properties of a service replica.

type ServiceResourceDescription Uses

type ServiceResourceDescription struct {
    autorest.Response `json:"-"`
    // ServiceResourceProperties - This type describes properties of a service resource.
    *ServiceResourceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Fully qualified identifier for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
}

ServiceResourceDescription this type describes a service resource.

func (ServiceResourceDescription) MarshalJSON Uses

func (srd ServiceResourceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceResourceDescription.

func (*ServiceResourceDescription) UnmarshalJSON Uses

func (srd *ServiceResourceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceResourceDescription struct.

type ServiceResourceProperties Uses

type ServiceResourceProperties struct {
    // Description - User readable description of the service.
    Description *string `json:"description,omitempty"`
    // ReplicaCount - The number of replicas of the service to create. Defaults to 1 if not specified.
    ReplicaCount *int32 `json:"replicaCount,omitempty"`
    // HealthState - The health state of a resource such as Application, Service, or Network. Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
    HealthState HealthState `json:"healthState,omitempty"`
    // Status - READ-ONLY; Represents the status of the service. Possible values include: 'ServiceResourceStatusUnknown', 'ServiceResourceStatusActive', 'ServiceResourceStatusUpgrading', 'ServiceResourceStatusDeleting', 'ServiceResourceStatusCreating', 'ServiceResourceStatusFailed'
    Status ServiceResourceStatus `json:"status,omitempty"`
    // OsType - The Operating system type required by the code in service.
    // . Possible values include: 'Linux', 'Windows'
    OsType OperatingSystemTypes `json:"osType,omitempty"`
    // CodePackages - Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).
    CodePackages *[]ContainerCodePackageProperties `json:"codePackages,omitempty"`
    // NetworkRefs - The names of the private networks that this service needs to be part of.
    NetworkRefs *[]NetworkRef `json:"networkRefs,omitempty"`
    // Diagnostics - Reference to sinks in DiagnosticsDescription.
    Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"`
}

ServiceResourceProperties this type describes properties of a service resource.

type ServiceResourceStatus Uses

type ServiceResourceStatus string

ServiceResourceStatus enumerates the values for service resource status.

const (
    // ServiceResourceStatusActive ...
    ServiceResourceStatusActive ServiceResourceStatus = "Active"
    // ServiceResourceStatusCreating ...
    ServiceResourceStatusCreating ServiceResourceStatus = "Creating"
    // ServiceResourceStatusDeleting ...
    ServiceResourceStatusDeleting ServiceResourceStatus = "Deleting"
    // ServiceResourceStatusFailed ...
    ServiceResourceStatusFailed ServiceResourceStatus = "Failed"
    // ServiceResourceStatusUnknown ...
    ServiceResourceStatusUnknown ServiceResourceStatus = "Unknown"
    // ServiceResourceStatusUpgrading ...
    ServiceResourceStatusUpgrading ServiceResourceStatus = "Upgrading"
)

func PossibleServiceResourceStatusValues Uses

func PossibleServiceResourceStatusValues() []ServiceResourceStatus

PossibleServiceResourceStatusValues returns an array of possible values for the ServiceResourceStatus const type.

type Setting Uses

type Setting struct {
    // Name - The name of the setting.
    Name *string `json:"name,omitempty"`
    // Value - The value of the setting.
    Value *string `json:"value,omitempty"`
}

Setting describes a setting for the container.

type TrackedResource Uses

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

TrackedResource the resource model definition for Azure Resource Manager tracked top-level resource.

func (TrackedResource) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type VolumeClient Uses

type VolumeClient struct {
    BaseClient
}

VolumeClient is the service Fabric Mesh Management Client

func NewVolumeClient Uses

func NewVolumeClient(subscriptionID string) VolumeClient

NewVolumeClient creates an instance of the VolumeClient client.

func NewVolumeClientWithBaseURI Uses

func NewVolumeClientWithBaseURI(baseURI string, subscriptionID string) VolumeClient

NewVolumeClientWithBaseURI creates an instance of the VolumeClient client.

func (VolumeClient) Create Uses

func (client VolumeClient) Create(ctx context.Context, resourceGroupName string, volumeName string, volumeResourceDescription VolumeResourceDescription) (result VolumeResourceDescription, err error)

Create creates a volume resource with the specified name and description. If a volume with the same name already exists, then its description is updated to the one indicated in this request. Parameters: resourceGroupName - azure resource group name volumeName - the identity of the volume. volumeResourceDescription - description for creating a volume resource.

func (VolumeClient) CreatePreparer Uses

func (client VolumeClient) CreatePreparer(ctx context.Context, resourceGroupName string, volumeName string, volumeResourceDescription VolumeResourceDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (VolumeClient) CreateResponder Uses

func (client VolumeClient) CreateResponder(resp *http.Response) (result VolumeResourceDescription, err error)

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

func (VolumeClient) CreateSender Uses

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

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

func (VolumeClient) Delete Uses

func (client VolumeClient) Delete(ctx context.Context, resourceGroupName string, volumeName string) (result autorest.Response, err error)

Delete deletes the volume identified by the name. Parameters: resourceGroupName - azure resource group name volumeName - the identity of the volume.

func (VolumeClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (VolumeClient) DeleteResponder Uses

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

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

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

func (VolumeClient) Get Uses

func (client VolumeClient) Get(ctx context.Context, resourceGroupName string, volumeName string) (result VolumeResourceDescription, err error)

Get gets the information about the volume resource with a given name. This information includes the volume description and other runtime information. Parameters: resourceGroupName - azure resource group name volumeName - the identity of the volume.

func (VolumeClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (VolumeClient) GetResponder Uses

func (client VolumeClient) GetResponder(resp *http.Response) (result VolumeResourceDescription, err error)

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

func (VolumeClient) GetSender Uses

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

func (client VolumeClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result VolumeResourceDescriptionListPage, err error)

ListByResourceGroup gets the information about all volume resources in a given resource group. The information includes the volume description and other runtime information. Parameters: resourceGroupName - azure resource group name

func (VolumeClient) ListByResourceGroupComplete Uses

func (client VolumeClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result VolumeResourceDescriptionListIterator, err error)

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

func (VolumeClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VolumeClient) ListByResourceGroupResponder Uses

func (client VolumeClient) ListByResourceGroupResponder(resp *http.Response) (result VolumeResourceDescriptionList, err error)

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

func (VolumeClient) ListByResourceGroupSender Uses

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

func (client VolumeClient) ListBySubscription(ctx context.Context) (result VolumeResourceDescriptionListPage, err error)

ListBySubscription gets the information about all volume resources in a given subscription. The information includes the volume description and other runtime information.

func (VolumeClient) ListBySubscriptionComplete Uses

func (client VolumeClient) ListBySubscriptionComplete(ctx context.Context) (result VolumeResourceDescriptionListIterator, err error)

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

func (VolumeClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (VolumeClient) ListBySubscriptionResponder Uses

func (client VolumeClient) ListBySubscriptionResponder(resp *http.Response) (result VolumeResourceDescriptionList, err error)

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

func (VolumeClient) ListBySubscriptionSender Uses

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

type VolumeProperties Uses

type VolumeProperties struct {
    // Description - User readable description of the volume.
    Description *string `json:"description,omitempty"`
    // Provider - Provider of the volume.
    Provider *string `json:"provider,omitempty"`
    // AzureFileParameters - This type describes a volume provided by an Azure Files file share.
    AzureFileParameters *VolumeProviderParametersAzureFile `json:"azureFileParameters,omitempty"`
}

VolumeProperties this type describes properties of a volume resource.

type VolumeProviderParametersAzureFile Uses

type VolumeProviderParametersAzureFile struct {
    // AccountName - Name of the Azure storage account for the File Share.
    AccountName *string `json:"accountName,omitempty"`
    // AccountKey - Access key of the Azure storage account for the File Share.
    AccountKey *string `json:"accountKey,omitempty"`
    // ShareName - Name of the Azure Files file share that provides storage for the volume.
    ShareName *string `json:"shareName,omitempty"`
}

VolumeProviderParametersAzureFile this type describes a volume provided by an Azure Files file share.

type VolumeResourceDescription Uses

type VolumeResourceDescription struct {
    autorest.Response `json:"-"`
    // VolumeResourceProperties - Describes properties of a volume resource.
    *VolumeResourceProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // ID - READ-ONLY; Fully qualified identifier 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. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
    Type *string `json:"type,omitempty"`
    // Location - The geo-location where the resource lives
    Location *string `json:"location,omitempty"`
}

VolumeResourceDescription this type describes a volume resource.

func (VolumeResourceDescription) MarshalJSON Uses

func (vrd VolumeResourceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VolumeResourceDescription.

func (*VolumeResourceDescription) UnmarshalJSON Uses

func (vrd *VolumeResourceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VolumeResourceDescription struct.

type VolumeResourceDescriptionList Uses

type VolumeResourceDescriptionList struct {
    autorest.Response `json:"-"`
    // Value - One page of the list.
    Value *[]VolumeResourceDescription `json:"value,omitempty"`
    // NextLink - URI to fetch the next page of the list.
    NextLink *string `json:"nextLink,omitempty"`
}

VolumeResourceDescriptionList a pageable list of volume resources.

func (VolumeResourceDescriptionList) IsEmpty Uses

func (vrdl VolumeResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VolumeResourceDescriptionListIterator Uses

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

VolumeResourceDescriptionListIterator provides access to a complete listing of VolumeResourceDescription values.

func NewVolumeResourceDescriptionListIterator Uses

func NewVolumeResourceDescriptionListIterator(page VolumeResourceDescriptionListPage) VolumeResourceDescriptionListIterator

Creates a new instance of the VolumeResourceDescriptionListIterator type.

func (*VolumeResourceDescriptionListIterator) Next Uses

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

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

func (iter VolumeResourceDescriptionListIterator) NotDone() bool

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

func (VolumeResourceDescriptionListIterator) Response Uses

func (iter VolumeResourceDescriptionListIterator) Response() VolumeResourceDescriptionList

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

func (VolumeResourceDescriptionListIterator) Value Uses

func (iter VolumeResourceDescriptionListIterator) Value() VolumeResourceDescription

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

type VolumeResourceDescriptionListPage Uses

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

VolumeResourceDescriptionListPage contains a page of VolumeResourceDescription values.

func NewVolumeResourceDescriptionListPage Uses

func NewVolumeResourceDescriptionListPage(getNextPage func(context.Context, VolumeResourceDescriptionList) (VolumeResourceDescriptionList, error)) VolumeResourceDescriptionListPage

Creates a new instance of the VolumeResourceDescriptionListPage type.

func (*VolumeResourceDescriptionListPage) Next Uses

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

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

func (page VolumeResourceDescriptionListPage) NotDone() bool

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

func (VolumeResourceDescriptionListPage) Response Uses

func (page VolumeResourceDescriptionListPage) Response() VolumeResourceDescriptionList

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

func (VolumeResourceDescriptionListPage) Values Uses

func (page VolumeResourceDescriptionListPage) Values() []VolumeResourceDescription

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

type VolumeResourceProperties Uses

type VolumeResourceProperties struct {
    // ProvisioningState - READ-ONLY; State of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Description - User readable description of the volume.
    Description *string `json:"description,omitempty"`
    // Provider - Provider of the volume.
    Provider *string `json:"provider,omitempty"`
    // AzureFileParameters - This type describes a volume provided by an Azure Files file share.
    AzureFileParameters *VolumeProviderParametersAzureFile `json:"azureFileParameters,omitempty"`
}

VolumeResourceProperties describes properties of a volume resource.

Directories

PathSynopsis
servicefabricmeshapi

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