servicefabricmesh

package
v44.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

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

Service Fabric Mesh Management Client

Index

Constants

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

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

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

func Version

func Version() string

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

Types

type AddRemoveReplicaScalingMechanism

type AddRemoveReplicaScalingMechanism struct {
	// MinCount - Minimum number of containers (scale down won't be performed below this number).
	MinCount *int32 `json:"minCount,omitempty"`
	// MaxCount - Maximum number of containers (scale up won't be performed above this number).
	MaxCount *int32 `json:"maxCount,omitempty"`
	// ScaleIncrement - Each time auto scaling is performed, this number of containers will be added or removed.
	ScaleIncrement *int32 `json:"scaleIncrement,omitempty"`
	// Kind - Possible values include: 'KindAutoScalingMechanism', 'KindAddRemoveReplica'
	Kind KindBasicAutoScalingMechanism `json:"kind,omitempty"`
}

AddRemoveReplicaScalingMechanism describes the horizontal auto scaling mechanism that adds or removes replicas (containers or container groups).

func (AddRemoveReplicaScalingMechanism) AsAddRemoveReplicaScalingMechanism

func (arrsm AddRemoveReplicaScalingMechanism) AsAddRemoveReplicaScalingMechanism() (*AddRemoveReplicaScalingMechanism, bool)

AsAddRemoveReplicaScalingMechanism is the BasicAutoScalingMechanism implementation for AddRemoveReplicaScalingMechanism.

func (AddRemoveReplicaScalingMechanism) AsAutoScalingMechanism

func (arrsm AddRemoveReplicaScalingMechanism) AsAutoScalingMechanism() (*AutoScalingMechanism, bool)

AsAutoScalingMechanism is the BasicAutoScalingMechanism implementation for AddRemoveReplicaScalingMechanism.

func (AddRemoveReplicaScalingMechanism) AsBasicAutoScalingMechanism

func (arrsm AddRemoveReplicaScalingMechanism) AsBasicAutoScalingMechanism() (BasicAutoScalingMechanism, bool)

AsBasicAutoScalingMechanism is the BasicAutoScalingMechanism implementation for AddRemoveReplicaScalingMechanism.

func (AddRemoveReplicaScalingMechanism) MarshalJSON

func (arrsm AddRemoveReplicaScalingMechanism) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AddRemoveReplicaScalingMechanism.

type ApplicationClient

type ApplicationClient struct {
	BaseClient
}

ApplicationClient is the service Fabric Mesh Management Client

func NewApplicationClient

func NewApplicationClient(subscriptionID string) ApplicationClient

NewApplicationClient creates an instance of the ApplicationClient client.

func NewApplicationClientWithBaseURI

func NewApplicationClientWithBaseURI(baseURI string, subscriptionID string) ApplicationClient

NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ApplicationClient) Create

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

Create creates an application resource with the specified name, description and properties. If an application resource with the same name exists, then it is updated with the specified description and properties. Parameters: resourceGroupName - azure resource group name applicationResourceName - the identity of the application. applicationResourceDescription - description for creating a Application resource.

func (ApplicationClient) CreatePreparer

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

CreatePreparer prepares the Create request.

func (ApplicationClient) CreateResponder

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

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

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

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

func (ApplicationClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (ApplicationClient) DeleteResponder

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

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

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

Get gets the information about the application resource with the given name. The information include the description and other properties of the application. Parameters: resourceGroupName - azure resource group name applicationResourceName - the identity of the application.

func (ApplicationClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ApplicationClient) GetResponder

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

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

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 include the description and other properties of the Application. Parameters: resourceGroupName - azure resource group name

func (ApplicationClient) ListByResourceGroupComplete

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

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplicationClient) ListByResourceGroupResponder

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

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

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

ListBySubscription gets the information about all application resources in a given resource group. The information include the description and other properties of the application.

func (ApplicationClient) ListBySubscriptionComplete

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

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

func (ApplicationClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ApplicationClient) ListBySubscriptionResponder

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

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

type ApplicationProperties struct {
	// Description - User readable description of the application.
	Description *string `json:"description,omitempty"`
	// Services - Describes the services in the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource.
	Services *[]ServiceResourceDescription `json:"services,omitempty"`
	// Diagnostics - Describes the diagnostics definition and usage for an application resource.
	Diagnostics *DiagnosticsDescription `json:"diagnostics,omitempty"`
	// DebugParams - Internal - used by Visual Studio to setup the debugging session on the local development environment.
	DebugParams *string `json:"debugParams,omitempty"`
	// ServiceNames - READ-ONLY; Names of the services in the application.
	ServiceNames *[]string `json:"serviceNames,omitempty"`
	// Status - READ-ONLY; Status of the application. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the application.
	StatusDetails *string `json:"statusDetails,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"`
}

ApplicationProperties describes properties of a application resource.

type ApplicationResourceDescription

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"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,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 - 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"`
}

ApplicationResourceDescription this type describes an application resource.

func (ApplicationResourceDescription) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationResourceDescription.

func (*ApplicationResourceDescription) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ApplicationResourceDescription struct.

type ApplicationResourceDescriptionList

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

IsEmpty returns true if the ListResult contains no values.

type ApplicationResourceDescriptionListIterator

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

ApplicationResourceDescriptionListIterator provides access to a complete listing of ApplicationResourceDescription values.

func NewApplicationResourceDescriptionListIterator

func NewApplicationResourceDescriptionListIterator(page ApplicationResourceDescriptionListPage) ApplicationResourceDescriptionListIterator

Creates a new instance of the ApplicationResourceDescriptionListIterator type.

func (*ApplicationResourceDescriptionListIterator) Next

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

func (*ApplicationResourceDescriptionListIterator) NextWithContext

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

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

func (ApplicationResourceDescriptionListIterator) Response

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

func (ApplicationResourceDescriptionListIterator) Value

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

type ApplicationResourceDescriptionListPage

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

ApplicationResourceDescriptionListPage contains a page of ApplicationResourceDescription values.

func NewApplicationResourceDescriptionListPage

Creates a new instance of the ApplicationResourceDescriptionListPage type.

func (*ApplicationResourceDescriptionListPage) Next

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

func (*ApplicationResourceDescriptionListPage) NextWithContext

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

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

func (ApplicationResourceDescriptionListPage) Response

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

func (ApplicationResourceDescriptionListPage) Values

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

type ApplicationResourceProperties

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"`
	// Services - Describes the services in the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource.
	Services *[]ServiceResourceDescription `json:"services,omitempty"`
	// Diagnostics - Describes the diagnostics definition and usage for an application resource.
	Diagnostics *DiagnosticsDescription `json:"diagnostics,omitempty"`
	// DebugParams - Internal - used by Visual Studio to setup the debugging session on the local development environment.
	DebugParams *string `json:"debugParams,omitempty"`
	// ServiceNames - READ-ONLY; Names of the services in the application.
	ServiceNames *[]string `json:"serviceNames,omitempty"`
	// Status - READ-ONLY; Status of the application. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the application.
	StatusDetails *string `json:"statusDetails,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"`
}

ApplicationResourceProperties this type describes properties of an application resource.

type ApplicationScopedVolume

type ApplicationScopedVolume struct {
	// CreationParameters - Describes parameters for creating application-scoped volumes.
	CreationParameters BasicApplicationScopedVolumeCreationParameters `json:"creationParameters,omitempty"`
	// Name - Name of the volume being referenced.
	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"`
}

ApplicationScopedVolume describes a volume whose lifetime is scoped to the application's lifetime.

func (*ApplicationScopedVolume) UnmarshalJSON

func (asv *ApplicationScopedVolume) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ApplicationScopedVolume struct.

type ApplicationScopedVolumeCreationParameters

type ApplicationScopedVolumeCreationParameters struct {
	// Description - User readable description of the volume.
	Description *string `json:"description,omitempty"`
	// Kind - Possible values include: 'KindApplicationScopedVolumeCreationParameters', 'KindServiceFabricVolumeDisk'
	Kind KindBasicApplicationScopedVolumeCreationParameters `json:"kind,omitempty"`
}

ApplicationScopedVolumeCreationParameters describes parameters for creating application-scoped volumes.

func (ApplicationScopedVolumeCreationParameters) AsApplicationScopedVolumeCreationParameters

func (asvcp ApplicationScopedVolumeCreationParameters) AsApplicationScopedVolumeCreationParameters() (*ApplicationScopedVolumeCreationParameters, bool)

AsApplicationScopedVolumeCreationParameters is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParameters.

func (ApplicationScopedVolumeCreationParameters) AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk

func (asvcp ApplicationScopedVolumeCreationParameters) AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk() (*ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, bool)

AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParameters.

func (ApplicationScopedVolumeCreationParameters) AsBasicApplicationScopedVolumeCreationParameters

func (asvcp ApplicationScopedVolumeCreationParameters) AsBasicApplicationScopedVolumeCreationParameters() (BasicApplicationScopedVolumeCreationParameters, bool)

AsBasicApplicationScopedVolumeCreationParameters is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParameters.

func (ApplicationScopedVolumeCreationParameters) MarshalJSON

func (asvcp ApplicationScopedVolumeCreationParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationScopedVolumeCreationParameters.

type ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk

type ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk struct {
	// SizeDisk - Volume size. Possible values include: 'Small', 'Medium', 'Large'
	SizeDisk SizeTypes `json:"sizeDisk,omitempty"`
	// Description - User readable description of the volume.
	Description *string `json:"description,omitempty"`
	// Kind - Possible values include: 'KindApplicationScopedVolumeCreationParameters', 'KindServiceFabricVolumeDisk'
	Kind KindBasicApplicationScopedVolumeCreationParameters `json:"kind,omitempty"`
}

ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk describes parameters for creating application-scoped volumes provided by Service Fabric Volume Disks

func (ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) AsApplicationScopedVolumeCreationParameters

AsApplicationScopedVolumeCreationParameters is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.

func (ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk

func (asvcpsfvd ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk() (*ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, bool)

AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.

func (ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) AsBasicApplicationScopedVolumeCreationParameters

AsBasicApplicationScopedVolumeCreationParameters is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.

func (ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) MarshalJSON

MarshalJSON is the custom marshaler for ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.

type ApplicationScopedVolumeKind

type ApplicationScopedVolumeKind string

ApplicationScopedVolumeKind enumerates the values for application scoped volume kind.

const (
	// ServiceFabricVolumeDisk Provides Service Fabric High Availability Volume Disk
	ServiceFabricVolumeDisk ApplicationScopedVolumeKind = "ServiceFabricVolumeDisk"
)

func PossibleApplicationScopedVolumeKindValues

func PossibleApplicationScopedVolumeKindValues() []ApplicationScopedVolumeKind

PossibleApplicationScopedVolumeKindValues returns an array of possible values for the ApplicationScopedVolumeKind const type.

type AutoScalingMechanism

type AutoScalingMechanism struct {
	// Kind - Possible values include: 'KindAutoScalingMechanism', 'KindAddRemoveReplica'
	Kind KindBasicAutoScalingMechanism `json:"kind,omitempty"`
}

AutoScalingMechanism describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism.

func (AutoScalingMechanism) AsAddRemoveReplicaScalingMechanism

func (asm AutoScalingMechanism) AsAddRemoveReplicaScalingMechanism() (*AddRemoveReplicaScalingMechanism, bool)

AsAddRemoveReplicaScalingMechanism is the BasicAutoScalingMechanism implementation for AutoScalingMechanism.

func (AutoScalingMechanism) AsAutoScalingMechanism

func (asm AutoScalingMechanism) AsAutoScalingMechanism() (*AutoScalingMechanism, bool)

AsAutoScalingMechanism is the BasicAutoScalingMechanism implementation for AutoScalingMechanism.

func (AutoScalingMechanism) AsBasicAutoScalingMechanism

func (asm AutoScalingMechanism) AsBasicAutoScalingMechanism() (BasicAutoScalingMechanism, bool)

AsBasicAutoScalingMechanism is the BasicAutoScalingMechanism implementation for AutoScalingMechanism.

func (AutoScalingMechanism) MarshalJSON

func (asm AutoScalingMechanism) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoScalingMechanism.

type AutoScalingMechanismKind

type AutoScalingMechanismKind string

AutoScalingMechanismKind enumerates the values for auto scaling mechanism kind.

const (
	// AddRemoveReplica Indicates that scaling should be performed by adding or removing replicas.
	AddRemoveReplica AutoScalingMechanismKind = "AddRemoveReplica"
)

func PossibleAutoScalingMechanismKindValues

func PossibleAutoScalingMechanismKindValues() []AutoScalingMechanismKind

PossibleAutoScalingMechanismKindValues returns an array of possible values for the AutoScalingMechanismKind const type.

type AutoScalingMetric

type AutoScalingMetric struct {
	// Kind - Possible values include: 'KindAutoScalingMetric', 'KindResource'
	Kind KindBasicAutoScalingMetric `json:"kind,omitempty"`
}

AutoScalingMetric describes the metric that is used for triggering auto scaling operation. Derived classes will describe resources or metrics.

func (AutoScalingMetric) AsAutoScalingMetric

func (asm AutoScalingMetric) AsAutoScalingMetric() (*AutoScalingMetric, bool)

AsAutoScalingMetric is the BasicAutoScalingMetric implementation for AutoScalingMetric.

func (AutoScalingMetric) AsAutoScalingResourceMetric

func (asm AutoScalingMetric) AsAutoScalingResourceMetric() (*AutoScalingResourceMetric, bool)

AsAutoScalingResourceMetric is the BasicAutoScalingMetric implementation for AutoScalingMetric.

func (AutoScalingMetric) AsBasicAutoScalingMetric

func (asm AutoScalingMetric) AsBasicAutoScalingMetric() (BasicAutoScalingMetric, bool)

AsBasicAutoScalingMetric is the BasicAutoScalingMetric implementation for AutoScalingMetric.

func (AutoScalingMetric) MarshalJSON

func (asm AutoScalingMetric) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoScalingMetric.

type AutoScalingMetricKind

type AutoScalingMetricKind string

AutoScalingMetricKind enumerates the values for auto scaling metric kind.

const (
	// AutoScalingMetricKindResource Indicates that the metric is one of resources, like cpu or memory.
	AutoScalingMetricKindResource AutoScalingMetricKind = "Resource"
)

func PossibleAutoScalingMetricKindValues

func PossibleAutoScalingMetricKindValues() []AutoScalingMetricKind

PossibleAutoScalingMetricKindValues returns an array of possible values for the AutoScalingMetricKind const type.

type AutoScalingPolicy

type AutoScalingPolicy struct {
	// Name - The name of the auto scaling policy.
	Name *string `json:"name,omitempty"`
	// Trigger - Determines when auto scaling operation will be invoked.
	Trigger BasicAutoScalingTrigger `json:"trigger,omitempty"`
	// Mechanism - The mechanism that is used to scale when auto scaling operation is invoked.
	Mechanism BasicAutoScalingMechanism `json:"mechanism,omitempty"`
}

AutoScalingPolicy describes the auto scaling policy

func (*AutoScalingPolicy) UnmarshalJSON

func (asp *AutoScalingPolicy) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AutoScalingPolicy struct.

type AutoScalingResourceMetric

type AutoScalingResourceMetric struct {
	// Name - Name of the resource. Possible values include: 'CPU', 'MemoryInGB'
	Name AutoScalingResourceMetricName `json:"name,omitempty"`
	// Kind - Possible values include: 'KindAutoScalingMetric', 'KindResource'
	Kind KindBasicAutoScalingMetric `json:"kind,omitempty"`
}

AutoScalingResourceMetric describes the resource that is used for triggering auto scaling.

func (AutoScalingResourceMetric) AsAutoScalingMetric

func (asrm AutoScalingResourceMetric) AsAutoScalingMetric() (*AutoScalingMetric, bool)

AsAutoScalingMetric is the BasicAutoScalingMetric implementation for AutoScalingResourceMetric.

func (AutoScalingResourceMetric) AsAutoScalingResourceMetric

func (asrm AutoScalingResourceMetric) AsAutoScalingResourceMetric() (*AutoScalingResourceMetric, bool)

AsAutoScalingResourceMetric is the BasicAutoScalingMetric implementation for AutoScalingResourceMetric.

func (AutoScalingResourceMetric) AsBasicAutoScalingMetric

func (asrm AutoScalingResourceMetric) AsBasicAutoScalingMetric() (BasicAutoScalingMetric, bool)

AsBasicAutoScalingMetric is the BasicAutoScalingMetric implementation for AutoScalingResourceMetric.

func (AutoScalingResourceMetric) MarshalJSON

func (asrm AutoScalingResourceMetric) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoScalingResourceMetric.

type AutoScalingResourceMetricName

type AutoScalingResourceMetricName string

AutoScalingResourceMetricName enumerates the values for auto scaling resource metric name.

const (
	// CPU Indicates that the resource is CPU cores.
	CPU AutoScalingResourceMetricName = "cpu"
	// MemoryInGB Indicates that the resource is memory in GB.
	MemoryInGB AutoScalingResourceMetricName = "memoryInGB"
)

func PossibleAutoScalingResourceMetricNameValues

func PossibleAutoScalingResourceMetricNameValues() []AutoScalingResourceMetricName

PossibleAutoScalingResourceMetricNameValues returns an array of possible values for the AutoScalingResourceMetricName const type.

type AutoScalingTrigger

type AutoScalingTrigger struct {
	// Kind - Possible values include: 'KindAutoScalingTrigger', 'KindAverageLoad'
	Kind KindBasicAutoScalingTrigger `json:"kind,omitempty"`
}

AutoScalingTrigger describes the trigger for performing auto scaling operation.

func (AutoScalingTrigger) AsAutoScalingTrigger

func (astVar AutoScalingTrigger) AsAutoScalingTrigger() (*AutoScalingTrigger, bool)

AsAutoScalingTrigger is the BasicAutoScalingTrigger implementation for AutoScalingTrigger.

func (AutoScalingTrigger) AsAverageLoadScalingTrigger

func (astVar AutoScalingTrigger) AsAverageLoadScalingTrigger() (*AverageLoadScalingTrigger, bool)

AsAverageLoadScalingTrigger is the BasicAutoScalingTrigger implementation for AutoScalingTrigger.

func (AutoScalingTrigger) AsBasicAutoScalingTrigger

func (astVar AutoScalingTrigger) AsBasicAutoScalingTrigger() (BasicAutoScalingTrigger, bool)

AsBasicAutoScalingTrigger is the BasicAutoScalingTrigger implementation for AutoScalingTrigger.

func (AutoScalingTrigger) MarshalJSON

func (astVar AutoScalingTrigger) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AutoScalingTrigger.

type AutoScalingTriggerKind

type AutoScalingTriggerKind string

AutoScalingTriggerKind enumerates the values for auto scaling trigger kind.

const (
	// AverageLoad Indicates that scaling should be performed based on average load of all replicas in the
	// service.
	AverageLoad AutoScalingTriggerKind = "AverageLoad"
)

func PossibleAutoScalingTriggerKindValues

func PossibleAutoScalingTriggerKindValues() []AutoScalingTriggerKind

PossibleAutoScalingTriggerKindValues returns an array of possible values for the AutoScalingTriggerKind const type.

type AvailableOperationDisplay

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 AverageLoadScalingTrigger

type AverageLoadScalingTrigger struct {
	// Metric - Description of the metric that is used for scaling.
	Metric BasicAutoScalingMetric `json:"metric,omitempty"`
	// LowerLoadThreshold - Lower load threshold (if average load is below this threshold, service will scale down).
	LowerLoadThreshold *float64 `json:"lowerLoadThreshold,omitempty"`
	// UpperLoadThreshold - Upper load threshold (if average load is above this threshold, service will scale up).
	UpperLoadThreshold *float64 `json:"upperLoadThreshold,omitempty"`
	// ScaleIntervalInSeconds - Scale interval that indicates how often will this trigger be checked.
	ScaleIntervalInSeconds *int32 `json:"scaleIntervalInSeconds,omitempty"`
	// Kind - Possible values include: 'KindAutoScalingTrigger', 'KindAverageLoad'
	Kind KindBasicAutoScalingTrigger `json:"kind,omitempty"`
}

AverageLoadScalingTrigger describes the average load trigger used for auto scaling.

func (AverageLoadScalingTrigger) AsAutoScalingTrigger

func (alst AverageLoadScalingTrigger) AsAutoScalingTrigger() (*AutoScalingTrigger, bool)

AsAutoScalingTrigger is the BasicAutoScalingTrigger implementation for AverageLoadScalingTrigger.

func (AverageLoadScalingTrigger) AsAverageLoadScalingTrigger

func (alst AverageLoadScalingTrigger) AsAverageLoadScalingTrigger() (*AverageLoadScalingTrigger, bool)

AsAverageLoadScalingTrigger is the BasicAutoScalingTrigger implementation for AverageLoadScalingTrigger.

func (AverageLoadScalingTrigger) AsBasicAutoScalingTrigger

func (alst AverageLoadScalingTrigger) AsBasicAutoScalingTrigger() (BasicAutoScalingTrigger, bool)

AsBasicAutoScalingTrigger is the BasicAutoScalingTrigger implementation for AverageLoadScalingTrigger.

func (AverageLoadScalingTrigger) MarshalJSON

func (alst AverageLoadScalingTrigger) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AverageLoadScalingTrigger.

func (*AverageLoadScalingTrigger) UnmarshalJSON

func (alst *AverageLoadScalingTrigger) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AverageLoadScalingTrigger struct.

type AzureInternalMonitoringPipelineSinkDescription

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 KindBasicDiagnosticsSinkProperties `json:"kind,omitempty"`
}

AzureInternalMonitoringPipelineSinkDescription diagnostics settings for Geneva.

func (AzureInternalMonitoringPipelineSinkDescription) AsAzureInternalMonitoringPipelineSinkDescription

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

AsAzureInternalMonitoringPipelineSinkDescription is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) AsBasicDiagnosticsSinkProperties

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

AsBasicDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) AsDiagnosticsSinkProperties

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

AsDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) MarshalJSON

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

MarshalJSON is the custom marshaler for AzureInternalMonitoringPipelineSinkDescription.

type BaseClient

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

BaseClient is the base client for Servicefabricmesh.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicApplicationScopedVolumeCreationParameters

type BasicApplicationScopedVolumeCreationParameters interface {
	AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk() (*ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk, bool)
	AsApplicationScopedVolumeCreationParameters() (*ApplicationScopedVolumeCreationParameters, bool)
}

BasicApplicationScopedVolumeCreationParameters describes parameters for creating application-scoped volumes.

type BasicAutoScalingMechanism

type BasicAutoScalingMechanism interface {
	AsAddRemoveReplicaScalingMechanism() (*AddRemoveReplicaScalingMechanism, bool)
	AsAutoScalingMechanism() (*AutoScalingMechanism, bool)
}

BasicAutoScalingMechanism describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism.

type BasicAutoScalingMetric

type BasicAutoScalingMetric interface {
	AsAutoScalingResourceMetric() (*AutoScalingResourceMetric, bool)
	AsAutoScalingMetric() (*AutoScalingMetric, bool)
}

BasicAutoScalingMetric describes the metric that is used for triggering auto scaling operation. Derived classes will describe resources or metrics.

type BasicAutoScalingTrigger

type BasicAutoScalingTrigger interface {
	AsAverageLoadScalingTrigger() (*AverageLoadScalingTrigger, bool)
	AsAutoScalingTrigger() (*AutoScalingTrigger, bool)
}

BasicAutoScalingTrigger describes the trigger for performing auto scaling operation.

type BasicDiagnosticsSinkProperties

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

BasicDiagnosticsSinkProperties properties of a DiagnosticsSink.

type BasicNetworkResourceProperties

type BasicNetworkResourceProperties interface {
	AsLocalNetworkResourceProperties() (*LocalNetworkResourceProperties, bool)
	AsNetworkResourceProperties() (*NetworkResourceProperties, bool)
}

BasicNetworkResourceProperties describes properties of a network resource.

type BasicNetworkResourcePropertiesBase

type BasicNetworkResourcePropertiesBase interface {
	AsNetworkResourceProperties() (*NetworkResourceProperties, bool)
	AsBasicNetworkResourceProperties() (BasicNetworkResourceProperties, bool)
	AsLocalNetworkResourceProperties() (*LocalNetworkResourceProperties, bool)
	AsNetworkResourcePropertiesBase() (*NetworkResourcePropertiesBase, bool)
}

BasicNetworkResourcePropertiesBase this type describes the properties of a network resource, including its kind.

type BasicSecretResourceProperties

type BasicSecretResourceProperties interface {
	AsInlinedValueSecretResourceProperties() (*InlinedValueSecretResourceProperties, bool)
	AsSecretResourceProperties() (*SecretResourceProperties, bool)
}

BasicSecretResourceProperties describes the properties of a secret resource.

type BasicSecretResourcePropertiesBase

type BasicSecretResourcePropertiesBase interface {
	AsSecretResourceProperties() (*SecretResourceProperties, bool)
	AsBasicSecretResourceProperties() (BasicSecretResourceProperties, bool)
	AsInlinedValueSecretResourceProperties() (*InlinedValueSecretResourceProperties, bool)
	AsSecretResourcePropertiesBase() (*SecretResourcePropertiesBase, bool)
}

BasicSecretResourcePropertiesBase this type describes the properties of a secret resource, including its kind.

type CodePackageClient

type CodePackageClient struct {
	BaseClient
}

CodePackageClient is the service Fabric Mesh Management Client

func NewCodePackageClient

func NewCodePackageClient(subscriptionID string) CodePackageClient

NewCodePackageClient creates an instance of the CodePackageClient client.

func NewCodePackageClientWithBaseURI

func NewCodePackageClientWithBaseURI(baseURI string, subscriptionID string) CodePackageClient

NewCodePackageClientWithBaseURI creates an instance of the CodePackageClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (CodePackageClient) GetContainerLogs

func (client CodePackageClient) GetContainerLogs(ctx context.Context, resourceGroupName string, applicationResourceName string, serviceResourceName string, replicaName string, codePackageName string, tail *int32) (result ContainerLogs, err error)

GetContainerLogs gets the logs for the container of the specified code package of the service replica. Parameters: resourceGroupName - azure resource group name applicationResourceName - the identity of the application. serviceResourceName - the identity of the service. replicaName - service Fabric replica name. codePackageName - the name of code package of the service. tail - number of lines to show from the end of the logs. Default is 100.

func (CodePackageClient) GetContainerLogsPreparer

func (client CodePackageClient) GetContainerLogsPreparer(ctx context.Context, resourceGroupName string, applicationResourceName string, serviceResourceName string, replicaName string, codePackageName string, tail *int32) (*http.Request, error)

GetContainerLogsPreparer prepares the GetContainerLogs request.

func (CodePackageClient) GetContainerLogsResponder

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

GetContainerLogsResponder handles the response to the GetContainerLogs request. The method always closes the http.Response Body.

func (CodePackageClient) GetContainerLogsSender

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

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

type ContainerCodePackageProperties

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 - The resources required by this container.
	Resources *ResourceRequirements `json:"resources,omitempty"`
	// VolumeRefs - Volumes to be attached to the container. The lifetime of these volumes is independent of the application's lifetime.
	VolumeRefs *[]VolumeReference `json:"volumeRefs,omitempty"`
	// Volumes - Volumes to be attached to the container. The lifetime of these volumes is scoped to the application's lifetime.
	Volumes *[]ApplicationScopedVolume `json:"volumes,omitempty"`
	// Diagnostics - Reference to sinks in DiagnosticsDescription.
	Diagnostics *DiagnosticsRef `json:"diagnostics,omitempty"`
	// ReliableCollectionsRefs - A list of ReliableCollection resources used by this particular code package. Please refer to ReliableCollectionsRef for more details.
	ReliableCollectionsRefs *[]ReliableCollectionsRef `json:"reliableCollectionsRefs,omitempty"`
	// InstanceView - READ-ONLY; Runtime information of a container instance.
	InstanceView *ContainerInstanceView `json:"instanceView,omitempty"`
}

ContainerCodePackageProperties describes a container and its runtime properties.

type ContainerEvent

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

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

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

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

ContainerLogs container logs.

type ContainerState

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 DiagnosticsDescription

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

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

UnmarshalJSON is the custom unmarshaler for DiagnosticsDescription struct.

type DiagnosticsRef

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

type DiagnosticsSinkKind string

DiagnosticsSinkKind enumerates the values for diagnostics sink kind.

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

func PossibleDiagnosticsSinkKindValues

func PossibleDiagnosticsSinkKindValues() []DiagnosticsSinkKind

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

type DiagnosticsSinkProperties

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 KindBasicDiagnosticsSinkProperties `json:"kind,omitempty"`
}

DiagnosticsSinkProperties properties of a DiagnosticsSink.

func (DiagnosticsSinkProperties) AsAzureInternalMonitoringPipelineSinkDescription

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

AsAzureInternalMonitoringPipelineSinkDescription is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) AsBasicDiagnosticsSinkProperties

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

AsBasicDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) AsDiagnosticsSinkProperties

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

AsDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) MarshalJSON

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

MarshalJSON is the custom marshaler for DiagnosticsSinkProperties.

type EndpointProperties

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 EndpointRef

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

EndpointRef describes a reference to a service endpoint.

type EnvironmentVariable

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 ErrorDetailsModel

type ErrorDetailsModel struct {
	Code *string `json:"code,omitempty"`
	// Message - Error message.
	Message *string `json:"message,omitempty"`
}

ErrorDetailsModel error model details information

type ErrorErrorModel

type ErrorErrorModel struct {
	Code *string `json:"code,omitempty"`
	// Message - Error message.
	Message    *string `json:"message,omitempty"`
	InnerError *string `json:"innerError,omitempty"`
	// Details - List of error message details.
	Details *[]ErrorDetailsModel `json:"details,omitempty"`
}

ErrorErrorModel error model information

type ErrorModel

type ErrorModel struct {
	// Error - Error model information
	Error *ErrorErrorModel `json:"error,omitempty"`
}

ErrorModel the error details.

type GatewayClient

type GatewayClient struct {
	BaseClient
}

GatewayClient is the service Fabric Mesh Management Client

func NewGatewayClient

func NewGatewayClient(subscriptionID string) GatewayClient

NewGatewayClient creates an instance of the GatewayClient client.

func NewGatewayClientWithBaseURI

func NewGatewayClientWithBaseURI(baseURI string, subscriptionID string) GatewayClient

NewGatewayClientWithBaseURI creates an instance of the GatewayClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (GatewayClient) Create

func (client GatewayClient) Create(ctx context.Context, resourceGroupName string, gatewayResourceName string, gatewayResourceDescription GatewayResourceDescription) (result GatewayResourceDescription, err error)

Create creates a gateway resource with the specified name, description and properties. If a gateway resource with the same name exists, then it is updated with the specified description and properties. Use gateway resources to create a gateway for public connectivity for services within your application. Parameters: resourceGroupName - azure resource group name gatewayResourceName - the identity of the gateway. gatewayResourceDescription - description for creating a Gateway resource.

func (GatewayClient) CreatePreparer

func (client GatewayClient) CreatePreparer(ctx context.Context, resourceGroupName string, gatewayResourceName string, gatewayResourceDescription GatewayResourceDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (GatewayClient) CreateResponder

func (client GatewayClient) CreateResponder(resp *http.Response) (result GatewayResourceDescription, err error)

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

func (GatewayClient) CreateSender

func (client GatewayClient) 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 (GatewayClient) Delete

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

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

func (GatewayClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (GatewayClient) DeleteResponder

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

func (client GatewayClient) 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 (GatewayClient) Get

func (client GatewayClient) Get(ctx context.Context, resourceGroupName string, gatewayResourceName string) (result GatewayResourceDescription, err error)

Get gets the information about the gateway resource with the given name. The information include the description and other properties of the gateway. Parameters: resourceGroupName - azure resource group name gatewayResourceName - the identity of the gateway.

func (GatewayClient) GetPreparer

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

GetPreparer prepares the Get request.

func (GatewayClient) GetResponder

func (client GatewayClient) GetResponder(resp *http.Response) (result GatewayResourceDescription, err error)

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

func (GatewayClient) GetSender

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

func (client GatewayClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result GatewayResourceDescriptionListPage, err error)

ListByResourceGroup gets the information about all gateway resources in a given resource group. The information include the description and other properties of the Gateway. Parameters: resourceGroupName - azure resource group name

func (GatewayClient) ListByResourceGroupComplete

func (client GatewayClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result GatewayResourceDescriptionListIterator, err error)

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

func (GatewayClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (GatewayClient) ListByResourceGroupResponder

func (client GatewayClient) ListByResourceGroupResponder(resp *http.Response) (result GatewayResourceDescriptionList, err error)

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

func (GatewayClient) ListByResourceGroupSender

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

func (client GatewayClient) ListBySubscription(ctx context.Context) (result GatewayResourceDescriptionListPage, err error)

ListBySubscription gets the information about all gateway resources in a given resource group. The information include the description and other properties of the gateway.

func (GatewayClient) ListBySubscriptionComplete

func (client GatewayClient) ListBySubscriptionComplete(ctx context.Context) (result GatewayResourceDescriptionListIterator, err error)

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

func (GatewayClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (GatewayClient) ListBySubscriptionResponder

func (client GatewayClient) ListBySubscriptionResponder(resp *http.Response) (result GatewayResourceDescriptionList, err error)

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

func (GatewayClient) ListBySubscriptionSender

func (client GatewayClient) 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 GatewayDestination

type GatewayDestination struct {
	// ApplicationName - Name of the service fabric Mesh application.
	ApplicationName *string `json:"applicationName,omitempty"`
	// ServiceName - service that contains the endpoint.
	ServiceName *string `json:"serviceName,omitempty"`
	// EndpointName - name of the endpoint in the service.
	EndpointName *string `json:"endpointName,omitempty"`
}

GatewayDestination describes destination endpoint for routing traffic.

type GatewayProperties

type GatewayProperties struct {
	// Description - User readable description of the gateway.
	Description *string `json:"description,omitempty"`
	// SourceNetwork - Network the gateway should listen on for requests.
	SourceNetwork *NetworkRef `json:"sourceNetwork,omitempty"`
	// DestinationNetwork - Network that the Application is using.
	DestinationNetwork *NetworkRef `json:"destinationNetwork,omitempty"`
	// TCP - Configuration for tcp connectivity for this gateway.
	TCP *[]TCPConfig `json:"tcp,omitempty"`
	// HTTP - Configuration for http connectivity for this gateway.
	HTTP *[]HTTPConfig `json:"http,omitempty"`
	// Status - READ-ONLY; Status of the resource. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the gateway.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// IPAddress - READ-ONLY; IP address of the gateway. This is populated in the response and is ignored for incoming requests.
	IPAddress *string `json:"ipAddress,omitempty"`
}

GatewayProperties describes properties of a gateway resource.

type GatewayResourceDescription

type GatewayResourceDescription struct {
	autorest.Response `json:"-"`
	// GatewayResourceProperties - This type describes properties of a gateway resource.
	*GatewayResourceProperties `json:"properties,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified 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"`
}

GatewayResourceDescription this type describes a gateway resource.

func (GatewayResourceDescription) MarshalJSON

func (grd GatewayResourceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GatewayResourceDescription.

func (*GatewayResourceDescription) UnmarshalJSON

func (grd *GatewayResourceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GatewayResourceDescription struct.

type GatewayResourceDescriptionList

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

GatewayResourceDescriptionList a pageable list of gateway resources.

func (GatewayResourceDescriptionList) IsEmpty

func (grdl GatewayResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GatewayResourceDescriptionListIterator

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

GatewayResourceDescriptionListIterator provides access to a complete listing of GatewayResourceDescription values.

func NewGatewayResourceDescriptionListIterator

func NewGatewayResourceDescriptionListIterator(page GatewayResourceDescriptionListPage) GatewayResourceDescriptionListIterator

Creates a new instance of the GatewayResourceDescriptionListIterator type.

func (*GatewayResourceDescriptionListIterator) Next

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

func (*GatewayResourceDescriptionListIterator) NextWithContext

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

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

func (GatewayResourceDescriptionListIterator) Response

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

func (GatewayResourceDescriptionListIterator) Value

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

type GatewayResourceDescriptionListPage

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

GatewayResourceDescriptionListPage contains a page of GatewayResourceDescription values.

func NewGatewayResourceDescriptionListPage

Creates a new instance of the GatewayResourceDescriptionListPage type.

func (*GatewayResourceDescriptionListPage) Next

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

func (*GatewayResourceDescriptionListPage) NextWithContext

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

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

func (GatewayResourceDescriptionListPage) Response

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

func (GatewayResourceDescriptionListPage) Values

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

type GatewayResourceProperties

type GatewayResourceProperties struct {
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Description - User readable description of the gateway.
	Description *string `json:"description,omitempty"`
	// SourceNetwork - Network the gateway should listen on for requests.
	SourceNetwork *NetworkRef `json:"sourceNetwork,omitempty"`
	// DestinationNetwork - Network that the Application is using.
	DestinationNetwork *NetworkRef `json:"destinationNetwork,omitempty"`
	// TCP - Configuration for tcp connectivity for this gateway.
	TCP *[]TCPConfig `json:"tcp,omitempty"`
	// HTTP - Configuration for http connectivity for this gateway.
	HTTP *[]HTTPConfig `json:"http,omitempty"`
	// Status - READ-ONLY; Status of the resource. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the gateway.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// IPAddress - READ-ONLY; IP address of the gateway. This is populated in the response and is ignored for incoming requests.
	IPAddress *string `json:"ipAddress,omitempty"`
}

GatewayResourceProperties this type describes properties of a gateway resource.

type HTTPConfig

type HTTPConfig struct {
	// Name - http gateway config name.
	Name *string `json:"name,omitempty"`
	// Port - Specifies the port at which the service endpoint below needs to be exposed.
	Port *int32 `json:"port,omitempty"`
	// Hosts - description for routing.
	Hosts *[]HTTPHostConfig `json:"hosts,omitempty"`
}

HTTPConfig describes the http configuration for external connectivity for this network.

type HTTPHostConfig

type HTTPHostConfig struct {
	// Name - http hostname config name.
	Name *string `json:"name,omitempty"`
	// Routes - Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases.
	Routes *[]HTTPRouteConfig `json:"routes,omitempty"`
}

HTTPHostConfig describes the hostname properties for http routing.

type HTTPRouteConfig

type HTTPRouteConfig struct {
	// Name - http route name.
	Name *string `json:"name,omitempty"`
	// Match - Describes a rule for http route matching.
	Match *HTTPRouteMatchRule `json:"match,omitempty"`
	// Destination - Describes destination endpoint for routing traffic.
	Destination *GatewayDestination `json:"destination,omitempty"`
}

HTTPRouteConfig describes the hostname properties for http routing.

type HTTPRouteMatchHeader

type HTTPRouteMatchHeader struct {
	// Name - Name of header to match in request.
	Name *string `json:"name,omitempty"`
	// Value - Value of header to match in request.
	Value *string `json:"value,omitempty"`
	// Type - how to match header value. Possible values include: 'Exact'
	Type HeaderMatchType `json:"type,omitempty"`
}

HTTPRouteMatchHeader describes header information for http route matching.

type HTTPRouteMatchPath

type HTTPRouteMatchPath struct {
	// Value - Uri path to match for request.
	Value *string `json:"value,omitempty"`
	// Rewrite - replacement string for matched part of the Uri.
	Rewrite *string `json:"rewrite,omitempty"`
	// Type - how to match value in the Uri
	Type *string `json:"type,omitempty"`
}

HTTPRouteMatchPath path to match for routing.

type HTTPRouteMatchRule

type HTTPRouteMatchRule struct {
	// Path - Path to match for routing.
	Path *HTTPRouteMatchPath `json:"path,omitempty"`
	// Headers - headers and their values to match in request.
	Headers *[]HTTPRouteMatchHeader `json:"headers,omitempty"`
}

HTTPRouteMatchRule describes a rule for http route matching.

type HeaderMatchType

type HeaderMatchType string

HeaderMatchType enumerates the values for header match type.

const (
	// Exact ...
	Exact HeaderMatchType = "exact"
)

func PossibleHeaderMatchTypeValues

func PossibleHeaderMatchTypeValues() []HeaderMatchType

PossibleHeaderMatchTypeValues returns an array of possible values for the HeaderMatchType const type.

type HealthState

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

func PossibleHealthStateValues() []HealthState

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

type ImageRegistryCredential

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. The password is required for create or update operations, however it is not returned in the get or list operations.
	Password *string `json:"password,omitempty"`
}

ImageRegistryCredential image registry credential.

type InlinedValueSecretResourceProperties

type InlinedValueSecretResourceProperties struct {
	// Description - User readable description of the secret.
	Description *string `json:"description,omitempty"`
	// Status - READ-ONLY; Status of the resource. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the secret.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// ContentType - The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
	ContentType *string `json:"contentType,omitempty"`
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Kind - Possible values include: 'KindSecretResourcePropertiesBase', 'KindSecretResourceProperties', 'KindInlinedValue'
	Kind Kind `json:"kind,omitempty"`
}

InlinedValueSecretResourceProperties describes the properties of a secret resource whose value is provided explicitly as plaintext. The secret resource may have multiple values, each being uniquely versioned. The secret value of each version is stored encrypted, and delivered as plaintext into the context of applications referencing it.

func (InlinedValueSecretResourceProperties) AsBasicSecretResourceProperties

func (ivsrp InlinedValueSecretResourceProperties) AsBasicSecretResourceProperties() (BasicSecretResourceProperties, bool)

AsBasicSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) AsBasicSecretResourcePropertiesBase

func (ivsrp InlinedValueSecretResourceProperties) AsBasicSecretResourcePropertiesBase() (BasicSecretResourcePropertiesBase, bool)

AsBasicSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) AsInlinedValueSecretResourceProperties

func (ivsrp InlinedValueSecretResourceProperties) AsInlinedValueSecretResourceProperties() (*InlinedValueSecretResourceProperties, bool)

AsInlinedValueSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) AsSecretResourceProperties

func (ivsrp InlinedValueSecretResourceProperties) AsSecretResourceProperties() (*SecretResourceProperties, bool)

AsSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) AsSecretResourcePropertiesBase

func (ivsrp InlinedValueSecretResourceProperties) AsSecretResourcePropertiesBase() (*SecretResourcePropertiesBase, bool)

AsSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) MarshalJSON

func (ivsrp InlinedValueSecretResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for InlinedValueSecretResourceProperties.

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// KindInlinedValue ...
	KindInlinedValue Kind = "inlinedValue"
	// KindSecretResourceProperties ...
	KindSecretResourceProperties Kind = "SecretResourceProperties"
	// KindSecretResourcePropertiesBase ...
	KindSecretResourcePropertiesBase Kind = "SecretResourcePropertiesBase"
)

func PossibleKindValues

func PossibleKindValues() []Kind

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

type KindBasicApplicationScopedVolumeCreationParameters

type KindBasicApplicationScopedVolumeCreationParameters string

KindBasicApplicationScopedVolumeCreationParameters enumerates the values for kind basic application scoped volume creation parameters.

const (
	// KindApplicationScopedVolumeCreationParameters ...
	KindApplicationScopedVolumeCreationParameters KindBasicApplicationScopedVolumeCreationParameters = "ApplicationScopedVolumeCreationParameters"
	// KindServiceFabricVolumeDisk ...
	KindServiceFabricVolumeDisk KindBasicApplicationScopedVolumeCreationParameters = "ServiceFabricVolumeDisk"
)

func PossibleKindBasicApplicationScopedVolumeCreationParametersValues

func PossibleKindBasicApplicationScopedVolumeCreationParametersValues() []KindBasicApplicationScopedVolumeCreationParameters

PossibleKindBasicApplicationScopedVolumeCreationParametersValues returns an array of possible values for the KindBasicApplicationScopedVolumeCreationParameters const type.

type KindBasicAutoScalingMechanism

type KindBasicAutoScalingMechanism string

KindBasicAutoScalingMechanism enumerates the values for kind basic auto scaling mechanism.

const (
	// KindAddRemoveReplica ...
	KindAddRemoveReplica KindBasicAutoScalingMechanism = "AddRemoveReplica"
	// KindAutoScalingMechanism ...
	KindAutoScalingMechanism KindBasicAutoScalingMechanism = "AutoScalingMechanism"
)

func PossibleKindBasicAutoScalingMechanismValues

func PossibleKindBasicAutoScalingMechanismValues() []KindBasicAutoScalingMechanism

PossibleKindBasicAutoScalingMechanismValues returns an array of possible values for the KindBasicAutoScalingMechanism const type.

type KindBasicAutoScalingMetric

type KindBasicAutoScalingMetric string

KindBasicAutoScalingMetric enumerates the values for kind basic auto scaling metric.

const (
	// KindAutoScalingMetric ...
	KindAutoScalingMetric KindBasicAutoScalingMetric = "AutoScalingMetric"
	// KindResource ...
	KindResource KindBasicAutoScalingMetric = "Resource"
)

func PossibleKindBasicAutoScalingMetricValues

func PossibleKindBasicAutoScalingMetricValues() []KindBasicAutoScalingMetric

PossibleKindBasicAutoScalingMetricValues returns an array of possible values for the KindBasicAutoScalingMetric const type.

type KindBasicAutoScalingTrigger

type KindBasicAutoScalingTrigger string

KindBasicAutoScalingTrigger enumerates the values for kind basic auto scaling trigger.

const (
	// KindAutoScalingTrigger ...
	KindAutoScalingTrigger KindBasicAutoScalingTrigger = "AutoScalingTrigger"
	// KindAverageLoad ...
	KindAverageLoad KindBasicAutoScalingTrigger = "AverageLoad"
)

func PossibleKindBasicAutoScalingTriggerValues

func PossibleKindBasicAutoScalingTriggerValues() []KindBasicAutoScalingTrigger

PossibleKindBasicAutoScalingTriggerValues returns an array of possible values for the KindBasicAutoScalingTrigger const type.

type KindBasicDiagnosticsSinkProperties

type KindBasicDiagnosticsSinkProperties string

KindBasicDiagnosticsSinkProperties enumerates the values for kind basic diagnostics sink properties.

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

func PossibleKindBasicDiagnosticsSinkPropertiesValues

func PossibleKindBasicDiagnosticsSinkPropertiesValues() []KindBasicDiagnosticsSinkProperties

PossibleKindBasicDiagnosticsSinkPropertiesValues returns an array of possible values for the KindBasicDiagnosticsSinkProperties const type.

type KindBasicNetworkResourcePropertiesBase

type KindBasicNetworkResourcePropertiesBase string

KindBasicNetworkResourcePropertiesBase enumerates the values for kind basic network resource properties base.

const (
	// KindLocal ...
	KindLocal KindBasicNetworkResourcePropertiesBase = "Local"
	// KindNetworkResourceProperties ...
	KindNetworkResourceProperties KindBasicNetworkResourcePropertiesBase = "NetworkResourceProperties"
	// KindNetworkResourcePropertiesBase ...
	KindNetworkResourcePropertiesBase KindBasicNetworkResourcePropertiesBase = "NetworkResourcePropertiesBase"
)

func PossibleKindBasicNetworkResourcePropertiesBaseValues

func PossibleKindBasicNetworkResourcePropertiesBaseValues() []KindBasicNetworkResourcePropertiesBase

PossibleKindBasicNetworkResourcePropertiesBaseValues returns an array of possible values for the KindBasicNetworkResourcePropertiesBase const type.

type LocalNetworkResourceProperties

type LocalNetworkResourceProperties struct {
	// NetworkAddressPrefix - Address space for the local container network.
	NetworkAddressPrefix *string `json:"networkAddressPrefix,omitempty"`
	// Description - User readable description of the network.
	Description *string `json:"description,omitempty"`
	// Status - READ-ONLY; Status of the network. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the network.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Kind - Possible values include: 'KindNetworkResourcePropertiesBase', 'KindNetworkResourceProperties', 'KindLocal'
	Kind KindBasicNetworkResourcePropertiesBase `json:"kind,omitempty"`
}

LocalNetworkResourceProperties information about a Service Fabric container network local to a single Service Fabric cluster.

func (LocalNetworkResourceProperties) AsBasicNetworkResourceProperties

func (lnrp LocalNetworkResourceProperties) AsBasicNetworkResourceProperties() (BasicNetworkResourceProperties, bool)

AsBasicNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) AsBasicNetworkResourcePropertiesBase

func (lnrp LocalNetworkResourceProperties) AsBasicNetworkResourcePropertiesBase() (BasicNetworkResourcePropertiesBase, bool)

AsBasicNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) AsLocalNetworkResourceProperties

func (lnrp LocalNetworkResourceProperties) AsLocalNetworkResourceProperties() (*LocalNetworkResourceProperties, bool)

AsLocalNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) AsNetworkResourceProperties

func (lnrp LocalNetworkResourceProperties) AsNetworkResourceProperties() (*NetworkResourceProperties, bool)

AsNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) AsNetworkResourcePropertiesBase

func (lnrp LocalNetworkResourceProperties) AsNetworkResourcePropertiesBase() (*NetworkResourcePropertiesBase, bool)

AsNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) MarshalJSON

func (lnrp LocalNetworkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocalNetworkResourceProperties.

type ManagedProxyResource

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

type NetworkClient struct {
	BaseClient
}

NetworkClient is the service Fabric Mesh Management Client

func NewNetworkClient

func NewNetworkClient(subscriptionID string) NetworkClient

NewNetworkClient creates an instance of the NetworkClient client.

func NewNetworkClientWithBaseURI

func NewNetworkClientWithBaseURI(baseURI string, subscriptionID string) NetworkClient

NewNetworkClientWithBaseURI creates an instance of the NetworkClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (NetworkClient) Create

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

Create creates a network resource with the specified name, description and properties. If a network resource with the same name exists, then it is updated with the specified description and properties. Parameters: resourceGroupName - azure resource group name networkResourceName - the identity of the network. networkResourceDescription - description for creating a Network resource.

func (NetworkClient) CreatePreparer

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

CreatePreparer prepares the Create request.

func (NetworkClient) CreateResponder

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

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

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

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

func (NetworkClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (NetworkClient) DeleteResponder

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

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

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

Get gets the information about the network resource with the given name. The information include the description and other properties of the network. Parameters: resourceGroupName - azure resource group name networkResourceName - the identity of the network.

func (NetworkClient) GetPreparer

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

GetPreparer prepares the Get request.

func (NetworkClient) GetResponder

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

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

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 include the description and other properties of the Network. Parameters: resourceGroupName - azure resource group name

func (NetworkClient) ListByResourceGroupComplete

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

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (NetworkClient) ListByResourceGroupResponder

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

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

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

ListBySubscription gets the information about all network resources in a given resource group. The information include the description and other properties of the network.

func (NetworkClient) ListBySubscriptionComplete

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

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

func (NetworkClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (NetworkClient) ListBySubscriptionResponder

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

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 NetworkKind

type NetworkKind string

NetworkKind enumerates the values for network kind.

const (
	// Local Indicates a container network local to a single Service Fabric cluster. The value is 1.
	Local NetworkKind = "Local"
)

func PossibleNetworkKindValues

func PossibleNetworkKindValues() []NetworkKind

PossibleNetworkKindValues returns an array of possible values for the NetworkKind const type.

type NetworkRef

type NetworkRef struct {
	// Name - Name of the network
	Name *string `json:"name,omitempty"`
	// EndpointRefs - A list of endpoints that are exposed on this network.
	EndpointRefs *[]EndpointRef `json:"endpointRefs,omitempty"`
}

NetworkRef describes a network reference in a service.

type NetworkResourceDescription

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

NetworkResourceDescription this type describes a network resource.

func (NetworkResourceDescription) MarshalJSON

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

MarshalJSON is the custom marshaler for NetworkResourceDescription.

func (*NetworkResourceDescription) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for NetworkResourceDescription struct.

type NetworkResourceDescriptionList

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

func (nrdl NetworkResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type NetworkResourceDescriptionListIterator

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

NetworkResourceDescriptionListIterator provides access to a complete listing of NetworkResourceDescription values.

func NewNetworkResourceDescriptionListIterator

func NewNetworkResourceDescriptionListIterator(page NetworkResourceDescriptionListPage) NetworkResourceDescriptionListIterator

Creates a new instance of the NetworkResourceDescriptionListIterator type.

func (*NetworkResourceDescriptionListIterator) Next

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

func (*NetworkResourceDescriptionListIterator) NextWithContext

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

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

func (NetworkResourceDescriptionListIterator) Response

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

func (NetworkResourceDescriptionListIterator) Value

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

type NetworkResourceDescriptionListPage

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

NetworkResourceDescriptionListPage contains a page of NetworkResourceDescription values.

func NewNetworkResourceDescriptionListPage

Creates a new instance of the NetworkResourceDescriptionListPage type.

func (*NetworkResourceDescriptionListPage) Next

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

func (*NetworkResourceDescriptionListPage) NextWithContext

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

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

func (NetworkResourceDescriptionListPage) Response

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

func (NetworkResourceDescriptionListPage) Values

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

type NetworkResourceProperties

type NetworkResourceProperties struct {
	// Description - User readable description of the network.
	Description *string `json:"description,omitempty"`
	// Status - READ-ONLY; Status of the network. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the network.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// Kind - Possible values include: 'KindNetworkResourcePropertiesBase', 'KindNetworkResourceProperties', 'KindLocal'
	Kind KindBasicNetworkResourcePropertiesBase `json:"kind,omitempty"`
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

NetworkResourceProperties describes properties of a network resource.

func (NetworkResourceProperties) AsBasicNetworkResourceProperties

func (nrp NetworkResourceProperties) AsBasicNetworkResourceProperties() (BasicNetworkResourceProperties, bool)

AsBasicNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) AsBasicNetworkResourcePropertiesBase

func (nrp NetworkResourceProperties) AsBasicNetworkResourcePropertiesBase() (BasicNetworkResourcePropertiesBase, bool)

AsBasicNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) AsLocalNetworkResourceProperties

func (nrp NetworkResourceProperties) AsLocalNetworkResourceProperties() (*LocalNetworkResourceProperties, bool)

AsLocalNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) AsNetworkResourceProperties

func (nrp NetworkResourceProperties) AsNetworkResourceProperties() (*NetworkResourceProperties, bool)

AsNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) AsNetworkResourcePropertiesBase

func (nrp NetworkResourceProperties) AsNetworkResourcePropertiesBase() (*NetworkResourcePropertiesBase, bool)

AsNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) MarshalJSON

func (nrp NetworkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkResourceProperties.

type NetworkResourcePropertiesBase

type NetworkResourcePropertiesBase struct {
	// Kind - Possible values include: 'KindNetworkResourcePropertiesBase', 'KindNetworkResourceProperties', 'KindLocal'
	Kind KindBasicNetworkResourcePropertiesBase `json:"kind,omitempty"`
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

NetworkResourcePropertiesBase this type describes the properties of a network resource, including its kind.

func (NetworkResourcePropertiesBase) AsBasicNetworkResourceProperties

func (nrpb NetworkResourcePropertiesBase) AsBasicNetworkResourceProperties() (BasicNetworkResourceProperties, bool)

AsBasicNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) AsBasicNetworkResourcePropertiesBase

func (nrpb NetworkResourcePropertiesBase) AsBasicNetworkResourcePropertiesBase() (BasicNetworkResourcePropertiesBase, bool)

AsBasicNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) AsLocalNetworkResourceProperties

func (nrpb NetworkResourcePropertiesBase) AsLocalNetworkResourceProperties() (*LocalNetworkResourceProperties, bool)

AsLocalNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) AsNetworkResourceProperties

func (nrpb NetworkResourcePropertiesBase) AsNetworkResourceProperties() (*NetworkResourceProperties, bool)

AsNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) AsNetworkResourcePropertiesBase

func (nrpb NetworkResourcePropertiesBase) AsNetworkResourcePropertiesBase() (*NetworkResourcePropertiesBase, bool)

AsNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) MarshalJSON

func (nrpb NetworkResourcePropertiesBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkResourcePropertiesBase.

type OperatingSystemType

type OperatingSystemType string

OperatingSystemType enumerates the values for operating system type.

const (
	// Linux The required operating system is Linux.
	Linux OperatingSystemType = "Linux"
	// Windows The required operating system is Windows.
	Windows OperatingSystemType = "Windows"
)

func PossibleOperatingSystemTypeValues

func PossibleOperatingSystemTypeValues() []OperatingSystemType

PossibleOperatingSystemTypeValues returns an array of possible values for the OperatingSystemType const type.

type OperationListResult

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

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

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

OperationListResultIterator provides access to a complete listing of OperationResult values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next

func (iter *OperationListResultIterator) Next() error

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

func (*OperationListResultIterator) NextWithContext

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

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

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response

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

func (OperationListResultIterator) Value

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

type OperationListResultPage

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

OperationListResultPage contains a page of OperationResult values.

func NewOperationListResultPage

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next

func (page *OperationListResultPage) Next() error

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

func (*OperationListResultPage) NextWithContext

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

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

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response

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

func (OperationListResultPage) Values

func (page OperationListResultPage) Values() []OperationResult

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

type OperationResult

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

type OperationsClient struct {
	BaseClient
}

OperationsClient is the service Fabric Mesh Management Client

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

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

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

func (OperationsClient) ListComplete

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

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

func (OperationsClient) ListPreparer

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

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

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

func (OperationsClient) ListSender

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

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

type ProvisionedResourceProperties

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

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

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

type ReliableCollectionsRef

type ReliableCollectionsRef struct {
	// Name - Name of ReliableCollection resource. Right now it's not used and you can use any string.
	Name *string `json:"name,omitempty"`
	// DoNotPersistState - False (the default) if ReliableCollections state is persisted to disk as usual. True if you do not want to persist state, in which case replication is still enabled and you can use ReliableCollections as distributed cache.
	DoNotPersistState *bool `json:"doNotPersistState,omitempty"`
}

ReliableCollectionsRef specifying this parameter adds support for reliable collections

type Resource

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

Resource the resource model definition for Azure Resource Manager resource.

type ResourceLimits

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

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

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 ResourceStatus

type ResourceStatus string

ResourceStatus enumerates the values for resource status.

const (
	// Creating Indicates the resource is being created. The value is 3.
	Creating ResourceStatus = "Creating"
	// Deleting Indicates the resource is being deleted. The value is 4.
	Deleting ResourceStatus = "Deleting"
	// Failed Indicates the resource is not functional due to persistent failures. See statusDetails property
	// for more details. The value is 5.
	Failed ResourceStatus = "Failed"
	// Ready Indicates the resource is ready. The value is 1.
	Ready ResourceStatus = "Ready"
	// Unknown Indicates the resource status is unknown. The value is zero.
	Unknown ResourceStatus = "Unknown"
	// Upgrading Indicates the resource is upgrading. The value is 2.
	Upgrading ResourceStatus = "Upgrading"
)

func PossibleResourceStatusValues

func PossibleResourceStatusValues() []ResourceStatus

PossibleResourceStatusValues returns an array of possible values for the ResourceStatus const type.

type SecretClient

type SecretClient struct {
	BaseClient
}

SecretClient is the service Fabric Mesh Management Client

func NewSecretClient

func NewSecretClient(subscriptionID string) SecretClient

NewSecretClient creates an instance of the SecretClient client.

func NewSecretClientWithBaseURI

func NewSecretClientWithBaseURI(baseURI string, subscriptionID string) SecretClient

NewSecretClientWithBaseURI creates an instance of the SecretClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecretClient) Create

func (client SecretClient) Create(ctx context.Context, resourceGroupName string, secretResourceName string, secretResourceDescription SecretResourceDescription) (result SecretResourceDescription, err error)

Create creates a secret resource with the specified name, description and properties. If a secret resource with the same name exists, then it is updated with the specified description and properties. Parameters: resourceGroupName - azure resource group name secretResourceName - the name of the secret resource. secretResourceDescription - description for creating a secret resource.

func (SecretClient) CreatePreparer

func (client SecretClient) CreatePreparer(ctx context.Context, resourceGroupName string, secretResourceName string, secretResourceDescription SecretResourceDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SecretClient) CreateResponder

func (client SecretClient) CreateResponder(resp *http.Response) (result SecretResourceDescription, err error)

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

func (SecretClient) CreateSender

func (client SecretClient) 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 (SecretClient) Delete

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

Delete deletes the secret resource identified by the name. Parameters: resourceGroupName - azure resource group name secretResourceName - the name of the secret resource.

func (SecretClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (SecretClient) DeleteResponder

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

func (client SecretClient) 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 (SecretClient) Get

func (client SecretClient) Get(ctx context.Context, resourceGroupName string, secretResourceName string) (result SecretResourceDescription, err error)

Get gets the information about the secret resource with the given name. The information include the description and other properties of the secret. Parameters: resourceGroupName - azure resource group name secretResourceName - the name of the secret resource.

func (SecretClient) GetPreparer

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

GetPreparer prepares the Get request.

func (SecretClient) GetResponder

func (client SecretClient) GetResponder(resp *http.Response) (result SecretResourceDescription, err error)

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

func (SecretClient) GetSender

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

func (client SecretClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result SecretResourceDescriptionListPage, err error)

ListByResourceGroup gets the information about all secret resources in a given resource group. The information include the description and other properties of the Secret. Parameters: resourceGroupName - azure resource group name

func (SecretClient) ListByResourceGroupComplete

func (client SecretClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result SecretResourceDescriptionListIterator, err error)

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

func (SecretClient) ListByResourceGroupPreparer

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SecretClient) ListByResourceGroupResponder

func (client SecretClient) ListByResourceGroupResponder(resp *http.Response) (result SecretResourceDescriptionList, err error)

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

func (SecretClient) ListByResourceGroupSender

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

func (client SecretClient) ListBySubscription(ctx context.Context) (result SecretResourceDescriptionListPage, err error)

ListBySubscription gets the information about all secret resources in a given resource group. The information include the description and other properties of the secret.

func (SecretClient) ListBySubscriptionComplete

func (client SecretClient) ListBySubscriptionComplete(ctx context.Context) (result SecretResourceDescriptionListIterator, err error)

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

func (SecretClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SecretClient) ListBySubscriptionResponder

func (client SecretClient) ListBySubscriptionResponder(resp *http.Response) (result SecretResourceDescriptionList, err error)

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

func (SecretClient) ListBySubscriptionSender

func (client SecretClient) 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 SecretKind

type SecretKind string

SecretKind enumerates the values for secret kind.

const (
	// InlinedValue A simple secret resource whose plaintext value is provided by the user.
	InlinedValue SecretKind = "inlinedValue"
)

func PossibleSecretKindValues

func PossibleSecretKindValues() []SecretKind

PossibleSecretKindValues returns an array of possible values for the SecretKind const type.

type SecretResourceDescription

type SecretResourceDescription struct {
	autorest.Response `json:"-"`
	// Properties - Describes the properties of a secret resource.
	Properties BasicSecretResourceProperties `json:"properties,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified 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"`
}

SecretResourceDescription this type describes a secret resource.

func (SecretResourceDescription) MarshalJSON

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

MarshalJSON is the custom marshaler for SecretResourceDescription.

func (*SecretResourceDescription) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for SecretResourceDescription struct.

type SecretResourceDescriptionList

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

SecretResourceDescriptionList a pageable list of secret resources.

func (SecretResourceDescriptionList) IsEmpty

func (srdl SecretResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SecretResourceDescriptionListIterator

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

SecretResourceDescriptionListIterator provides access to a complete listing of SecretResourceDescription values.

func NewSecretResourceDescriptionListIterator

func NewSecretResourceDescriptionListIterator(page SecretResourceDescriptionListPage) SecretResourceDescriptionListIterator

Creates a new instance of the SecretResourceDescriptionListIterator type.

func (*SecretResourceDescriptionListIterator) Next

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

func (*SecretResourceDescriptionListIterator) NextWithContext

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

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

func (SecretResourceDescriptionListIterator) Response

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

func (SecretResourceDescriptionListIterator) Value

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

type SecretResourceDescriptionListPage

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

SecretResourceDescriptionListPage contains a page of SecretResourceDescription values.

func NewSecretResourceDescriptionListPage

Creates a new instance of the SecretResourceDescriptionListPage type.

func (*SecretResourceDescriptionListPage) Next

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

func (*SecretResourceDescriptionListPage) NextWithContext

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

func (page SecretResourceDescriptionListPage) NotDone() bool

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

func (SecretResourceDescriptionListPage) Response

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

func (SecretResourceDescriptionListPage) Values

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

type SecretResourceProperties

type SecretResourceProperties struct {
	// Description - User readable description of the secret.
	Description *string `json:"description,omitempty"`
	// Status - READ-ONLY; Status of the resource. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the secret.
	StatusDetails *string `json:"statusDetails,omitempty"`
	// ContentType - The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed.
	ContentType *string `json:"contentType,omitempty"`
	// Kind - Possible values include: 'KindSecretResourcePropertiesBase', 'KindSecretResourceProperties', 'KindInlinedValue'
	Kind Kind `json:"kind,omitempty"`
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

SecretResourceProperties describes the properties of a secret resource.

func (SecretResourceProperties) AsBasicSecretResourceProperties

func (srp SecretResourceProperties) AsBasicSecretResourceProperties() (BasicSecretResourceProperties, bool)

AsBasicSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) AsBasicSecretResourcePropertiesBase

func (srp SecretResourceProperties) AsBasicSecretResourcePropertiesBase() (BasicSecretResourcePropertiesBase, bool)

AsBasicSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) AsInlinedValueSecretResourceProperties

func (srp SecretResourceProperties) AsInlinedValueSecretResourceProperties() (*InlinedValueSecretResourceProperties, bool)

AsInlinedValueSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) AsSecretResourceProperties

func (srp SecretResourceProperties) AsSecretResourceProperties() (*SecretResourceProperties, bool)

AsSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) AsSecretResourcePropertiesBase

func (srp SecretResourceProperties) AsSecretResourcePropertiesBase() (*SecretResourcePropertiesBase, bool)

AsSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) MarshalJSON

func (srp SecretResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecretResourceProperties.

type SecretResourcePropertiesBase

type SecretResourcePropertiesBase struct {
	// Kind - Possible values include: 'KindSecretResourcePropertiesBase', 'KindSecretResourceProperties', 'KindInlinedValue'
	Kind Kind `json:"kind,omitempty"`
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

SecretResourcePropertiesBase this type describes the properties of a secret resource, including its kind.

func (SecretResourcePropertiesBase) AsBasicSecretResourceProperties

func (srpb SecretResourcePropertiesBase) AsBasicSecretResourceProperties() (BasicSecretResourceProperties, bool)

AsBasicSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) AsBasicSecretResourcePropertiesBase

func (srpb SecretResourcePropertiesBase) AsBasicSecretResourcePropertiesBase() (BasicSecretResourcePropertiesBase, bool)

AsBasicSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) AsInlinedValueSecretResourceProperties

func (srpb SecretResourcePropertiesBase) AsInlinedValueSecretResourceProperties() (*InlinedValueSecretResourceProperties, bool)

AsInlinedValueSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) AsSecretResourceProperties

func (srpb SecretResourcePropertiesBase) AsSecretResourceProperties() (*SecretResourceProperties, bool)

AsSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) AsSecretResourcePropertiesBase

func (srpb SecretResourcePropertiesBase) AsSecretResourcePropertiesBase() (*SecretResourcePropertiesBase, bool)

AsSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) MarshalJSON

func (srpb SecretResourcePropertiesBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecretResourcePropertiesBase.

type SecretValue

type SecretValue struct {
	autorest.Response `json:"-"`
	// Value - The actual value of the secret.
	Value *string `json:"value,omitempty"`
}

SecretValue this type represents the unencrypted value of the secret.

type SecretValueClient

type SecretValueClient struct {
	BaseClient
}

SecretValueClient is the service Fabric Mesh Management Client

func NewSecretValueClient

func NewSecretValueClient(subscriptionID string) SecretValueClient

NewSecretValueClient creates an instance of the SecretValueClient client.

func NewSecretValueClientWithBaseURI

func NewSecretValueClientWithBaseURI(baseURI string, subscriptionID string) SecretValueClient

NewSecretValueClientWithBaseURI creates an instance of the SecretValueClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SecretValueClient) Create

func (client SecretValueClient) Create(ctx context.Context, resourceGroupName string, secretResourceName string, secretValueResourceName string, secretValueResourceDescription SecretValueResourceDescription) (result SecretValueResourceDescription, err error)

Create creates a new value of the specified secret resource. The name of the value is typically the version identifier. Once created the value cannot be changed. Parameters: resourceGroupName - azure resource group name secretResourceName - the name of the secret resource. secretValueResourceName - the name of the secret resource value which is typically the version identifier for the value. secretValueResourceDescription - description for creating a value of a secret resource.

func (SecretValueClient) CreatePreparer

func (client SecretValueClient) CreatePreparer(ctx context.Context, resourceGroupName string, secretResourceName string, secretValueResourceName string, secretValueResourceDescription SecretValueResourceDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (SecretValueClient) CreateResponder

func (client SecretValueClient) CreateResponder(resp *http.Response) (result SecretValueResourceDescription, err error)

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

func (SecretValueClient) CreateSender

func (client SecretValueClient) 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 (SecretValueClient) Delete

func (client SecretValueClient) Delete(ctx context.Context, resourceGroupName string, secretResourceName string, secretValueResourceName string) (result autorest.Response, err error)

Delete deletes the secret value resource identified by the name. The name of the resource is typically the version associated with that value. Deletion will fail if the specified value is in use. Parameters: resourceGroupName - azure resource group name secretResourceName - the name of the secret resource. secretValueResourceName - the name of the secret resource value which is typically the version identifier for the value.

func (SecretValueClient) DeletePreparer

func (client SecretValueClient) DeletePreparer(ctx context.Context, resourceGroupName string, secretResourceName string, secretValueResourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (SecretValueClient) DeleteResponder

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

func (client SecretValueClient) 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 (SecretValueClient) Get

func (client SecretValueClient) Get(ctx context.Context, resourceGroupName string, secretResourceName string, secretValueResourceName string) (result SecretValueResourceDescription, err error)

Get get the information about the specified named secret value resources. The information does not include the actual value of the secret. Parameters: resourceGroupName - azure resource group name secretResourceName - the name of the secret resource. secretValueResourceName - the name of the secret resource value which is typically the version identifier for the value.

func (SecretValueClient) GetPreparer

func (client SecretValueClient) GetPreparer(ctx context.Context, resourceGroupName string, secretResourceName string, secretValueResourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (SecretValueClient) GetResponder

func (client SecretValueClient) GetResponder(resp *http.Response) (result SecretValueResourceDescription, err error)

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

func (SecretValueClient) GetSender

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

func (client SecretValueClient) List(ctx context.Context, resourceGroupName string, secretResourceName string) (result SecretValueResourceDescriptionListPage, err error)

List gets information about all secret value resources of the specified secret resource. The information includes the names of the secret value resources, but not the actual values. Parameters: resourceGroupName - azure resource group name secretResourceName - the name of the secret resource.

func (SecretValueClient) ListComplete

func (client SecretValueClient) ListComplete(ctx context.Context, resourceGroupName string, secretResourceName string) (result SecretValueResourceDescriptionListIterator, err error)

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

func (SecretValueClient) ListPreparer

func (client SecretValueClient) ListPreparer(ctx context.Context, resourceGroupName string, secretResourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (SecretValueClient) ListResponder

func (client SecretValueClient) ListResponder(resp *http.Response) (result SecretValueResourceDescriptionList, err error)

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

func (SecretValueClient) ListSender

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

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

func (SecretValueClient) ListValue

func (client SecretValueClient) ListValue(ctx context.Context, resourceGroupName string, secretResourceName string, secretValueResourceName string) (result SecretValue, err error)

ListValue lists the decrypted value of the specified named value of the secret resource. This is a privileged operation. Parameters: resourceGroupName - azure resource group name secretResourceName - the name of the secret resource. secretValueResourceName - the name of the secret resource value which is typically the version identifier for the value.

func (SecretValueClient) ListValuePreparer

func (client SecretValueClient) ListValuePreparer(ctx context.Context, resourceGroupName string, secretResourceName string, secretValueResourceName string) (*http.Request, error)

ListValuePreparer prepares the ListValue request.

func (SecretValueClient) ListValueResponder

func (client SecretValueClient) ListValueResponder(resp *http.Response) (result SecretValue, err error)

ListValueResponder handles the response to the ListValue request. The method always closes the http.Response Body.

func (SecretValueClient) ListValueSender

func (client SecretValueClient) ListValueSender(req *http.Request) (*http.Response, error)

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

type SecretValueProperties

type SecretValueProperties struct {
	// Value - The actual value of the secret.
	Value *string `json:"value,omitempty"`
}

SecretValueProperties this type describes properties of secret value resource.

type SecretValueResourceDescription

type SecretValueResourceDescription struct {
	autorest.Response `json:"-"`
	// SecretValueResourceProperties - This type describes properties of a secret value resource.
	*SecretValueResourceProperties `json:"properties,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified 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"`
}

SecretValueResourceDescription this type describes a value of a secret resource. The name of this resource is the version identifier corresponding to this secret value.

func (SecretValueResourceDescription) MarshalJSON

func (svrd SecretValueResourceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecretValueResourceDescription.

func (*SecretValueResourceDescription) UnmarshalJSON

func (svrd *SecretValueResourceDescription) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for SecretValueResourceDescription struct.

type SecretValueResourceDescriptionList

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

SecretValueResourceDescriptionList a pageable list of values of a secret resource. The information does not include only the name of the value and not the actual unencrypted value.

func (SecretValueResourceDescriptionList) IsEmpty

func (svrdl SecretValueResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SecretValueResourceDescriptionListIterator

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

SecretValueResourceDescriptionListIterator provides access to a complete listing of SecretValueResourceDescription values.

func NewSecretValueResourceDescriptionListIterator

func NewSecretValueResourceDescriptionListIterator(page SecretValueResourceDescriptionListPage) SecretValueResourceDescriptionListIterator

Creates a new instance of the SecretValueResourceDescriptionListIterator type.

func (*SecretValueResourceDescriptionListIterator) Next

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

func (*SecretValueResourceDescriptionListIterator) NextWithContext

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

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

func (SecretValueResourceDescriptionListIterator) Response

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

func (SecretValueResourceDescriptionListIterator) Value

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

type SecretValueResourceDescriptionListPage

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

SecretValueResourceDescriptionListPage contains a page of SecretValueResourceDescription values.

func NewSecretValueResourceDescriptionListPage

Creates a new instance of the SecretValueResourceDescriptionListPage type.

func (*SecretValueResourceDescriptionListPage) Next

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

func (*SecretValueResourceDescriptionListPage) NextWithContext

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

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

func (SecretValueResourceDescriptionListPage) Response

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

func (SecretValueResourceDescriptionListPage) Values

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

type SecretValueResourceProperties

type SecretValueResourceProperties struct {
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// Value - The actual value of the secret.
	Value *string `json:"value,omitempty"`
}

SecretValueResourceProperties this type describes properties of a secret value resource.

type ServiceClient

type ServiceClient struct {
	BaseClient
}

ServiceClient is the service Fabric Mesh Management Client

func NewServiceClient

func NewServiceClient(subscriptionID string) ServiceClient

NewServiceClient creates an instance of the ServiceClient client.

func NewServiceClientWithBaseURI

func NewServiceClientWithBaseURI(baseURI string, subscriptionID string) ServiceClient

NewServiceClientWithBaseURI creates an instance of the ServiceClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServiceClient) Get

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

Get gets the information about the service resource with the given name. The information include the description and other properties of the service. Parameters: resourceGroupName - azure resource group name applicationResourceName - the identity of the application. serviceResourceName - the identity of the service.

func (ServiceClient) GetPreparer

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

GetPreparer prepares the Get request.

func (ServiceClient) GetResponder

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

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

func (client ServiceClient) List(ctx context.Context, resourceGroupName string, applicationResourceName string) (result ServiceResourceDescriptionListPage, err error)

List gets the information about all services of an application resource. The information include the description and other properties of the Service. Parameters: resourceGroupName - azure resource group name applicationResourceName - the identity of the application.

func (ServiceClient) ListComplete

func (client ServiceClient) ListComplete(ctx context.Context, resourceGroupName string, applicationResourceName string) (result ServiceResourceDescriptionListIterator, err error)

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

func (ServiceClient) ListPreparer

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

ListPreparer prepares the List request.

func (ServiceClient) ListResponder

func (client ServiceClient) ListResponder(resp *http.Response) (result ServiceResourceDescriptionList, err error)

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

func (ServiceClient) ListSender

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

type ServiceProperties 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"`
	// AutoScalingPolicies - Auto scaling policies
	AutoScalingPolicies *[]AutoScalingPolicy `json:"autoScalingPolicies,omitempty"`
	// Status - READ-ONLY; Status of the service. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the service.
	StatusDetails *string `json:"statusDetails,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 service's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the service is marked unhealthy.
	UnhealthyEvaluation *string `json:"unhealthyEvaluation,omitempty"`
}

ServiceProperties describes properties of a service resource.

type ServiceReplicaClient

type ServiceReplicaClient struct {
	BaseClient
}

ServiceReplicaClient is the service Fabric Mesh Management Client

func NewServiceReplicaClient

func NewServiceReplicaClient(subscriptionID string) ServiceReplicaClient

NewServiceReplicaClient creates an instance of the ServiceReplicaClient client.

func NewServiceReplicaClientWithBaseURI

func NewServiceReplicaClientWithBaseURI(baseURI string, subscriptionID string) ServiceReplicaClient

NewServiceReplicaClientWithBaseURI creates an instance of the ServiceReplicaClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ServiceReplicaClient) Get

func (client ServiceReplicaClient) Get(ctx context.Context, resourceGroupName string, applicationResourceName string, serviceResourceName string, replicaName string) (result ServiceReplicaDescription, err error)

Get gets the information about the service replica with the given name. The information include the description and other properties of the service replica. Parameters: resourceGroupName - azure resource group name applicationResourceName - the identity of the application. serviceResourceName - the identity of the service. replicaName - service Fabric replica name.

func (ServiceReplicaClient) GetPreparer

func (client ServiceReplicaClient) GetPreparer(ctx context.Context, resourceGroupName string, applicationResourceName string, serviceResourceName string, replicaName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceReplicaClient) GetResponder

func (client ServiceReplicaClient) 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 (ServiceReplicaClient) GetSender

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

func (client ServiceReplicaClient) List(ctx context.Context, resourceGroupName string, applicationResourceName string, serviceResourceName string) (result ServiceReplicaDescriptionListPage, err error)

List 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 applicationResourceName - the identity of the application. serviceResourceName - the identity of the service.

func (ServiceReplicaClient) ListComplete

func (client ServiceReplicaClient) ListComplete(ctx context.Context, resourceGroupName string, applicationResourceName string, serviceResourceName string) (result ServiceReplicaDescriptionListIterator, err error)

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

func (ServiceReplicaClient) ListPreparer

func (client ServiceReplicaClient) ListPreparer(ctx context.Context, resourceGroupName string, applicationResourceName string, serviceResourceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ServiceReplicaClient) ListResponder

func (client ServiceReplicaClient) ListResponder(resp *http.Response) (result ServiceReplicaDescriptionList, err error)

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

func (ServiceReplicaClient) ListSender

func (client ServiceReplicaClient) 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 ServiceReplicaDescription

type ServiceReplicaDescription struct {
	autorest.Response `json:"-"`
	// ReplicaName - Name of the replica.
	ReplicaName *string `json:"replicaName,omitempty"`
	// OsType - The operation system required by the code in service. Possible values include: 'Linux', 'Windows'
	OsType OperatingSystemType `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 describes a replica of a service resource.

type ServiceReplicaDescriptionList

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

ServiceReplicaDescriptionList a pageable list of service replicas.

func (ServiceReplicaDescriptionList) IsEmpty

func (srdl ServiceReplicaDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceReplicaDescriptionListIterator

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

ServiceReplicaDescriptionListIterator provides access to a complete listing of ServiceReplicaDescription values.

func NewServiceReplicaDescriptionListIterator

func NewServiceReplicaDescriptionListIterator(page ServiceReplicaDescriptionListPage) ServiceReplicaDescriptionListIterator

Creates a new instance of the ServiceReplicaDescriptionListIterator type.

func (*ServiceReplicaDescriptionListIterator) Next

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

func (*ServiceReplicaDescriptionListIterator) NextWithContext

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

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

func (ServiceReplicaDescriptionListIterator) Response

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

func (ServiceReplicaDescriptionListIterator) Value

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

type ServiceReplicaDescriptionListPage

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

ServiceReplicaDescriptionListPage contains a page of ServiceReplicaDescription values.

func NewServiceReplicaDescriptionListPage

Creates a new instance of the ServiceReplicaDescriptionListPage type.

func (*ServiceReplicaDescriptionListPage) Next

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

func (*ServiceReplicaDescriptionListPage) NextWithContext

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

func (page ServiceReplicaDescriptionListPage) NotDone() bool

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

func (ServiceReplicaDescriptionListPage) Response

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

func (ServiceReplicaDescriptionListPage) Values

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

type ServiceReplicaProperties

type ServiceReplicaProperties struct {
	// OsType - The operation system required by the code in service. Possible values include: 'Linux', 'Windows'
	OsType OperatingSystemType `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

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

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

MarshalJSON is the custom marshaler for ServiceResourceDescription.

func (*ServiceResourceDescription) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for ServiceResourceDescription struct.

type ServiceResourceDescriptionList

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

ServiceResourceDescriptionList a pageable list of service resources.

func (ServiceResourceDescriptionList) IsEmpty

func (srdl ServiceResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceResourceDescriptionListIterator

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

ServiceResourceDescriptionListIterator provides access to a complete listing of ServiceResourceDescription values.

func NewServiceResourceDescriptionListIterator

func NewServiceResourceDescriptionListIterator(page ServiceResourceDescriptionListPage) ServiceResourceDescriptionListIterator

Creates a new instance of the ServiceResourceDescriptionListIterator type.

func (*ServiceResourceDescriptionListIterator) Next

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

func (*ServiceResourceDescriptionListIterator) NextWithContext

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

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

func (ServiceResourceDescriptionListIterator) Response

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

func (ServiceResourceDescriptionListIterator) Value

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

type ServiceResourceDescriptionListPage

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

ServiceResourceDescriptionListPage contains a page of ServiceResourceDescription values.

func NewServiceResourceDescriptionListPage

Creates a new instance of the ServiceResourceDescriptionListPage type.

func (*ServiceResourceDescriptionListPage) Next

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

func (*ServiceResourceDescriptionListPage) NextWithContext

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

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

func (ServiceResourceDescriptionListPage) Response

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

func (ServiceResourceDescriptionListPage) Values

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

type ServiceResourceProperties

type ServiceResourceProperties struct {
	// ProvisioningState - READ-ONLY; State of the resource.
	ProvisioningState *string `json:"provisioningState,omitempty"`
	// OsType - The operation system required by the code in service. Possible values include: 'Linux', 'Windows'
	OsType OperatingSystemType `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"`
	// 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"`
	// AutoScalingPolicies - Auto scaling policies
	AutoScalingPolicies *[]AutoScalingPolicy `json:"autoScalingPolicies,omitempty"`
	// Status - READ-ONLY; Status of the service. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the service.
	StatusDetails *string `json:"statusDetails,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 service's health state is not 'Ok', this additional details from service fabric Health Manager for the user to know why the service is marked unhealthy.
	UnhealthyEvaluation *string `json:"unhealthyEvaluation,omitempty"`
}

ServiceResourceProperties this type describes properties of a service resource.

type Setting

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

type SizeTypes

type SizeTypes string

SizeTypes enumerates the values for size types.

const (
	// Large ...
	Large SizeTypes = "Large"
	// Medium ...
	Medium SizeTypes = "Medium"
	// Small ...
	Small SizeTypes = "Small"
)

func PossibleSizeTypesValues

func PossibleSizeTypesValues() []SizeTypes

PossibleSizeTypesValues returns an array of possible values for the SizeTypes const type.

type TCPConfig

type TCPConfig struct {
	// Name - tcp gateway config name.
	Name *string `json:"name,omitempty"`
	// Port - Specifies the port at which the service endpoint below needs to be exposed.
	Port *int32 `json:"port,omitempty"`
	// Destination - Describes destination endpoint for routing traffic.
	Destination *GatewayDestination `json:"destination,omitempty"`
}

TCPConfig describes the tcp configuration for external connectivity for this network.

type TrackedResource

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

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

func (TrackedResource) MarshalJSON

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

MarshalJSON is the custom marshaler for TrackedResource.

type VolumeClient

type VolumeClient struct {
	BaseClient
}

VolumeClient is the service Fabric Mesh Management Client

func NewVolumeClient

func NewVolumeClient(subscriptionID string) VolumeClient

NewVolumeClient creates an instance of the VolumeClient client.

func NewVolumeClientWithBaseURI

func NewVolumeClientWithBaseURI(baseURI string, subscriptionID string) VolumeClient

NewVolumeClientWithBaseURI creates an instance of the VolumeClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VolumeClient) Create

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

Create creates a volume resource with the specified name, description and properties. If a volume resource with the same name exists, then it is updated with the specified description and properties. Parameters: resourceGroupName - azure resource group name volumeResourceName - the identity of the volume. volumeResourceDescription - description for creating a Volume resource.

func (VolumeClient) CreatePreparer

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

CreatePreparer prepares the Create request.

func (VolumeClient) CreateResponder

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

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

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

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

func (VolumeClient) DeletePreparer

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

DeletePreparer prepares the Delete request.

func (VolumeClient) DeleteResponder

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

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

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

Get gets the information about the volume resource with the given name. The information include the description and other properties of the volume. Parameters: resourceGroupName - azure resource group name volumeResourceName - the identity of the volume.

func (VolumeClient) GetPreparer

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

GetPreparer prepares the Get request.

func (VolumeClient) GetResponder

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

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

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 include the description and other properties of the Volume. Parameters: resourceGroupName - azure resource group name

func (VolumeClient) ListByResourceGroupComplete

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

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VolumeClient) ListByResourceGroupResponder

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

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

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

ListBySubscription gets the information about all volume resources in a given resource group. The information include the description and other properties of the volume.

func (VolumeClient) ListBySubscriptionComplete

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

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

func (VolumeClient) ListBySubscriptionPreparer

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (VolumeClient) ListBySubscriptionResponder

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

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

type VolumeProperties struct {
	// Description - User readable description of the volume.
	Description *string `json:"description,omitempty"`
	// Status - READ-ONLY; Status of the volume. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the volume.
	StatusDetails *string `json:"statusDetails,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 describes properties of a volume resource.

type VolumeProvider

type VolumeProvider string

VolumeProvider enumerates the values for volume provider.

const (
	// SFAzureFile Provides volumes that are backed by Azure Files.
	SFAzureFile VolumeProvider = "SFAzureFile"
)

func PossibleVolumeProviderValues

func PossibleVolumeProviderValues() []VolumeProvider

PossibleVolumeProviderValues returns an array of possible values for the VolumeProvider const type.

type VolumeProviderParametersAzureFile

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 VolumeReference

type VolumeReference struct {
	// Name - Name of the volume being referenced.
	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"`
}

VolumeReference describes a reference to a volume resource.

type VolumeResourceDescription

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

VolumeResourceDescription this type describes a volume resource.

func (VolumeResourceDescription) MarshalJSON

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

MarshalJSON is the custom marshaler for VolumeResourceDescription.

func (*VolumeResourceDescription) UnmarshalJSON

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

UnmarshalJSON is the custom unmarshaler for VolumeResourceDescription struct.

type VolumeResourceDescriptionList

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

func (vrdl VolumeResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VolumeResourceDescriptionListIterator

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

VolumeResourceDescriptionListIterator provides access to a complete listing of VolumeResourceDescription values.

func NewVolumeResourceDescriptionListIterator

func NewVolumeResourceDescriptionListIterator(page VolumeResourceDescriptionListPage) VolumeResourceDescriptionListIterator

Creates a new instance of the VolumeResourceDescriptionListIterator type.

func (*VolumeResourceDescriptionListIterator) Next

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

func (*VolumeResourceDescriptionListIterator) NextWithContext

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

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

func (VolumeResourceDescriptionListIterator) Response

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

func (VolumeResourceDescriptionListIterator) Value

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

type VolumeResourceDescriptionListPage

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

VolumeResourceDescriptionListPage contains a page of VolumeResourceDescription values.

func NewVolumeResourceDescriptionListPage

Creates a new instance of the VolumeResourceDescriptionListPage type.

func (*VolumeResourceDescriptionListPage) Next

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

func (*VolumeResourceDescriptionListPage) NextWithContext

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

func (page VolumeResourceDescriptionListPage) NotDone() bool

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

func (VolumeResourceDescriptionListPage) Response

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

func (VolumeResourceDescriptionListPage) Values

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

type VolumeResourceProperties

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"`
	// Status - READ-ONLY; Status of the volume. Possible values include: 'Unknown', 'Ready', 'Upgrading', 'Creating', 'Deleting', 'Failed'
	Status ResourceStatus `json:"status,omitempty"`
	// StatusDetails - READ-ONLY; Gives additional information about the current status of the volume.
	StatusDetails *string `json:"statusDetails,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 this type describes properties of a volume resource.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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