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

package servicefabricmesh

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

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

Service Fabric Mesh Management Client

Index

Package Files

application.go client.go codepackage.go gateway.go models.go network.go operations.go secret.go secretvalue.go service.go servicereplica.go version.go volume.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type AddRemoveReplicaScalingMechanism Uses

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 Uses

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

AsAddRemoveReplicaScalingMechanism is the BasicAutoScalingMechanism implementation for AddRemoveReplicaScalingMechanism.

func (AddRemoveReplicaScalingMechanism) AsAutoScalingMechanism Uses

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

AsAutoScalingMechanism is the BasicAutoScalingMechanism implementation for AddRemoveReplicaScalingMechanism.

func (AddRemoveReplicaScalingMechanism) AsBasicAutoScalingMechanism Uses

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

AsBasicAutoScalingMechanism is the BasicAutoScalingMechanism implementation for AddRemoveReplicaScalingMechanism.

func (AddRemoveReplicaScalingMechanism) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AddRemoveReplicaScalingMechanism.

type ApplicationClient Uses

type ApplicationClient struct {
    BaseClient
}

ApplicationClient is the service Fabric Mesh Management Client

func NewApplicationClient Uses

func NewApplicationClient(subscriptionID string) ApplicationClient

NewApplicationClient creates an instance of the ApplicationClient client.

func NewApplicationClientWithBaseURI Uses

func NewApplicationClientWithBaseURI(baseURI string, subscriptionID string) ApplicationClient

NewApplicationClientWithBaseURI creates an instance of the ApplicationClient client.

func (ApplicationClient) Create Uses

func (client ApplicationClient) Create(ctx context.Context, resourceGroupName string, 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 Uses

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

CreatePreparer prepares the Create request.

func (ApplicationClient) CreateResponder Uses

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

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

func (ApplicationClient) CreateSender Uses

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

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

func (ApplicationClient) Delete Uses

func (client ApplicationClient) Delete(ctx context.Context, resourceGroupName string, 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 Uses

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

DeletePreparer prepares the Delete request.

func (ApplicationClient) DeleteResponder Uses

func (client ApplicationClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ApplicationClient) DeleteSender Uses

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

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

func (ApplicationClient) Get Uses

func (client ApplicationClient) Get(ctx context.Context, resourceGroupName string, 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 Uses

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

GetPreparer prepares the Get request.

func (ApplicationClient) GetResponder Uses

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

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

func (ApplicationClient) GetSender Uses

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

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

func (ApplicationClient) ListByResourceGroup Uses

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

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

func (ApplicationClient) ListByResourceGroupComplete Uses

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

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

func (ApplicationClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ApplicationClient) ListByResourceGroupResponder Uses

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

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

func (ApplicationClient) ListByResourceGroupSender Uses

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

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

func (ApplicationClient) ListBySubscription Uses

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

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

func (ApplicationClient) ListBySubscriptionComplete Uses

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

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

func (ApplicationClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (ApplicationClient) ListBySubscriptionResponder Uses

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

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

func (ApplicationClient) ListBySubscriptionSender Uses

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

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

type ApplicationProperties Uses

type ApplicationProperties struct {
    // Description - User readable description of the application.
    Description *string `json:"description,omitempty"`
    // 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 Uses

type ApplicationResourceDescription struct {
    autorest.Response `json:"-"`
    // ApplicationResourceProperties - This type describes properties of an application resource.
    *ApplicationResourceProperties `json:"properties,omitempty"`
    // Tags - Resource tags.
    Tags map[string]*string `json:"tags"`
    // 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 Uses

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

MarshalJSON is the custom marshaler for ApplicationResourceDescription.

func (*ApplicationResourceDescription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationResourceDescription struct.

type ApplicationResourceDescriptionList Uses

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

ApplicationResourceDescriptionList a pageable list of application resources.

func (ApplicationResourceDescriptionList) IsEmpty Uses

func (ardl ApplicationResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ApplicationResourceDescriptionListIterator Uses

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

ApplicationResourceDescriptionListIterator provides access to a complete listing of ApplicationResourceDescription values.

func NewApplicationResourceDescriptionListIterator Uses

func NewApplicationResourceDescriptionListIterator(page ApplicationResourceDescriptionListPage) ApplicationResourceDescriptionListIterator

Creates a new instance of the ApplicationResourceDescriptionListIterator type.

func (*ApplicationResourceDescriptionListIterator) Next Uses

func (iter *ApplicationResourceDescriptionListIterator) Next() error

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

func (*ApplicationResourceDescriptionListIterator) NextWithContext Uses

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

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

func (ApplicationResourceDescriptionListIterator) NotDone Uses

func (iter ApplicationResourceDescriptionListIterator) NotDone() bool

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

func (ApplicationResourceDescriptionListIterator) Response Uses

func (iter ApplicationResourceDescriptionListIterator) Response() ApplicationResourceDescriptionList

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

func (ApplicationResourceDescriptionListIterator) Value Uses

func (iter ApplicationResourceDescriptionListIterator) Value() ApplicationResourceDescription

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

type ApplicationResourceDescriptionListPage Uses

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

ApplicationResourceDescriptionListPage contains a page of ApplicationResourceDescription values.

func NewApplicationResourceDescriptionListPage Uses

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

Creates a new instance of the ApplicationResourceDescriptionListPage type.

func (*ApplicationResourceDescriptionListPage) Next Uses

func (page *ApplicationResourceDescriptionListPage) Next() error

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

func (*ApplicationResourceDescriptionListPage) NextWithContext Uses

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

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

func (ApplicationResourceDescriptionListPage) NotDone Uses

func (page ApplicationResourceDescriptionListPage) NotDone() bool

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

func (ApplicationResourceDescriptionListPage) Response Uses

func (page ApplicationResourceDescriptionListPage) Response() ApplicationResourceDescriptionList

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

func (ApplicationResourceDescriptionListPage) Values Uses

func (page ApplicationResourceDescriptionListPage) Values() []ApplicationResourceDescription

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

type ApplicationResourceProperties Uses

type ApplicationResourceProperties struct {
    // ProvisioningState - READ-ONLY; State of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Description - User readable description of the application.
    Description *string `json:"description,omitempty"`
    // 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 Uses

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 Uses

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

UnmarshalJSON is the custom unmarshaler for ApplicationScopedVolume struct.

type ApplicationScopedVolumeCreationParameters Uses

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 Uses

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

AsApplicationScopedVolumeCreationParameters is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParameters.

func (ApplicationScopedVolumeCreationParameters) AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk Uses

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

AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParameters.

func (ApplicationScopedVolumeCreationParameters) AsBasicApplicationScopedVolumeCreationParameters Uses

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

AsBasicApplicationScopedVolumeCreationParameters is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParameters.

func (ApplicationScopedVolumeCreationParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ApplicationScopedVolumeCreationParameters.

type ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk Uses

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 Uses

func (asvcpsfvd ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) AsApplicationScopedVolumeCreationParameters() (*ApplicationScopedVolumeCreationParameters, bool)

AsApplicationScopedVolumeCreationParameters is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.

func (ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk Uses

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

AsApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.

func (ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) AsBasicApplicationScopedVolumeCreationParameters Uses

func (asvcpsfvd ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) AsBasicApplicationScopedVolumeCreationParameters() (BasicApplicationScopedVolumeCreationParameters, bool)

AsBasicApplicationScopedVolumeCreationParameters is the BasicApplicationScopedVolumeCreationParameters implementation for ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.

func (ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) MarshalJSON Uses

func (asvcpsfvd ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk.

type ApplicationScopedVolumeKind Uses

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 Uses

func PossibleApplicationScopedVolumeKindValues() []ApplicationScopedVolumeKind

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

type AutoScalingMechanism Uses

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 Uses

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

AsAddRemoveReplicaScalingMechanism is the BasicAutoScalingMechanism implementation for AutoScalingMechanism.

func (AutoScalingMechanism) AsAutoScalingMechanism Uses

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

AsAutoScalingMechanism is the BasicAutoScalingMechanism implementation for AutoScalingMechanism.

func (AutoScalingMechanism) AsBasicAutoScalingMechanism Uses

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

AsBasicAutoScalingMechanism is the BasicAutoScalingMechanism implementation for AutoScalingMechanism.

func (AutoScalingMechanism) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AutoScalingMechanism.

type AutoScalingMechanismKind Uses

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 Uses

func PossibleAutoScalingMechanismKindValues() []AutoScalingMechanismKind

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

type AutoScalingMetric Uses

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 Uses

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

AsAutoScalingMetric is the BasicAutoScalingMetric implementation for AutoScalingMetric.

func (AutoScalingMetric) AsAutoScalingResourceMetric Uses

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

AsAutoScalingResourceMetric is the BasicAutoScalingMetric implementation for AutoScalingMetric.

func (AutoScalingMetric) AsBasicAutoScalingMetric Uses

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

AsBasicAutoScalingMetric is the BasicAutoScalingMetric implementation for AutoScalingMetric.

func (AutoScalingMetric) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AutoScalingMetric.

type AutoScalingMetricKind Uses

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 Uses

func PossibleAutoScalingMetricKindValues() []AutoScalingMetricKind

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

type AutoScalingPolicy Uses

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 Uses

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

UnmarshalJSON is the custom unmarshaler for AutoScalingPolicy struct.

type AutoScalingResourceMetric Uses

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 Uses

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

AsAutoScalingMetric is the BasicAutoScalingMetric implementation for AutoScalingResourceMetric.

func (AutoScalingResourceMetric) AsAutoScalingResourceMetric Uses

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

AsAutoScalingResourceMetric is the BasicAutoScalingMetric implementation for AutoScalingResourceMetric.

func (AutoScalingResourceMetric) AsBasicAutoScalingMetric Uses

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

AsBasicAutoScalingMetric is the BasicAutoScalingMetric implementation for AutoScalingResourceMetric.

func (AutoScalingResourceMetric) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AutoScalingResourceMetric.

type AutoScalingResourceMetricName Uses

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 Uses

func PossibleAutoScalingResourceMetricNameValues() []AutoScalingResourceMetricName

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

type AutoScalingTrigger Uses

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 Uses

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

AsAutoScalingTrigger is the BasicAutoScalingTrigger implementation for AutoScalingTrigger.

func (AutoScalingTrigger) AsAverageLoadScalingTrigger Uses

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

AsAverageLoadScalingTrigger is the BasicAutoScalingTrigger implementation for AutoScalingTrigger.

func (AutoScalingTrigger) AsBasicAutoScalingTrigger Uses

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

AsBasicAutoScalingTrigger is the BasicAutoScalingTrigger implementation for AutoScalingTrigger.

func (AutoScalingTrigger) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AutoScalingTrigger.

type AutoScalingTriggerKind Uses

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 Uses

func PossibleAutoScalingTriggerKindValues() []AutoScalingTriggerKind

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

type AvailableOperationDisplay Uses

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

AvailableOperationDisplay an operation available at the listed Azure resource provider.

type AverageLoadScalingTrigger Uses

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 Uses

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

AsAutoScalingTrigger is the BasicAutoScalingTrigger implementation for AverageLoadScalingTrigger.

func (AverageLoadScalingTrigger) AsAverageLoadScalingTrigger Uses

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

AsAverageLoadScalingTrigger is the BasicAutoScalingTrigger implementation for AverageLoadScalingTrigger.

func (AverageLoadScalingTrigger) AsBasicAutoScalingTrigger Uses

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

AsBasicAutoScalingTrigger is the BasicAutoScalingTrigger implementation for AverageLoadScalingTrigger.

func (AverageLoadScalingTrigger) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AverageLoadScalingTrigger.

func (*AverageLoadScalingTrigger) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AverageLoadScalingTrigger struct.

type AzureInternalMonitoringPipelineSinkDescription Uses

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

AzureInternalMonitoringPipelineSinkDescription diagnostics settings for Geneva.

func (AzureInternalMonitoringPipelineSinkDescription) AsAzureInternalMonitoringPipelineSinkDescription Uses

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

AsAzureInternalMonitoringPipelineSinkDescription is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) AsBasicDiagnosticsSinkProperties Uses

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

AsBasicDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) AsDiagnosticsSinkProperties Uses

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

AsDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for AzureInternalMonitoringPipelineSinkDescription.

func (AzureInternalMonitoringPipelineSinkDescription) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for AzureInternalMonitoringPipelineSinkDescription.

type BaseClient Uses

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

BaseClient is the base client for Servicefabricmesh.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicApplicationScopedVolumeCreationParameters Uses

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

BasicApplicationScopedVolumeCreationParameters describes parameters for creating application-scoped volumes.

type BasicAutoScalingMechanism Uses

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 Uses

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 Uses

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

BasicAutoScalingTrigger describes the trigger for performing auto scaling operation.

type BasicDiagnosticsSinkProperties Uses

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

BasicDiagnosticsSinkProperties properties of a DiagnosticsSink.

type BasicNetworkResourceProperties Uses

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

BasicNetworkResourceProperties describes properties of a network resource.

type BasicNetworkResourcePropertiesBase Uses

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 Uses

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

BasicSecretResourceProperties describes the properties of a secret resource.

type BasicSecretResourcePropertiesBase Uses

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 Uses

type CodePackageClient struct {
    BaseClient
}

CodePackageClient is the service Fabric Mesh Management Client

func NewCodePackageClient Uses

func NewCodePackageClient(subscriptionID string) CodePackageClient

NewCodePackageClient creates an instance of the CodePackageClient client.

func NewCodePackageClientWithBaseURI Uses

func NewCodePackageClientWithBaseURI(baseURI string, subscriptionID string) CodePackageClient

NewCodePackageClientWithBaseURI creates an instance of the CodePackageClient client.

func (CodePackageClient) GetContainerLogs Uses

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 Uses

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 Uses

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 Uses

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 Uses

type ContainerCodePackageProperties struct {
    // Name - The name of the code package.
    Name *string `json:"name,omitempty"`
    // Image - The Container image to use.
    Image *string `json:"image,omitempty"`
    // ImageRegistryCredential - Image registry credential.
    ImageRegistryCredential *ImageRegistryCredential `json:"imageRegistryCredential,omitempty"`
    // Entrypoint - Override for the default entry point in the container.
    Entrypoint *string `json:"entrypoint,omitempty"`
    // Commands - Command array to execute within the container in exec form.
    Commands *[]string `json:"commands,omitempty"`
    // EnvironmentVariables - The environment variables to set in this container
    EnvironmentVariables *[]EnvironmentVariable `json:"environmentVariables,omitempty"`
    // Settings - The settings to set in this container. The setting file path can be fetched from environment variable "Fabric_SettingPath". The path for Windows container is "C:\\secrets". The path for Linux container is "/var/secrets".
    Settings *[]Setting `json:"settings,omitempty"`
    // Labels - The labels to set in this container.
    Labels *[]ContainerLabel `json:"labels,omitempty"`
    // Endpoints - The endpoints exposed by this container.
    Endpoints *[]EndpointProperties `json:"endpoints,omitempty"`
    // Resources - 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 Uses

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

ContainerEvent a container event.

type ContainerInstanceView Uses

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

ContainerInstanceView runtime information of a container instance.

type ContainerLabel Uses

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

ContainerLabel describes a container label.

type ContainerLogs Uses

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

ContainerLogs container logs.

type ContainerState Uses

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

ContainerState the container state.

type DiagnosticsDescription Uses

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

DiagnosticsDescription describes the diagnostics options available

func (*DiagnosticsDescription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for DiagnosticsDescription struct.

type DiagnosticsRef Uses

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

DiagnosticsRef reference to sinks in DiagnosticsDescription.

type DiagnosticsSinkKind Uses

type DiagnosticsSinkKind string

DiagnosticsSinkKind enumerates the values for diagnostics sink kind.

const (
    // 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 Uses

func PossibleDiagnosticsSinkKindValues() []DiagnosticsSinkKind

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

type DiagnosticsSinkProperties Uses

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

DiagnosticsSinkProperties properties of a DiagnosticsSink.

func (DiagnosticsSinkProperties) AsAzureInternalMonitoringPipelineSinkDescription Uses

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

AsAzureInternalMonitoringPipelineSinkDescription is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) AsBasicDiagnosticsSinkProperties Uses

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

AsBasicDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) AsDiagnosticsSinkProperties Uses

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

AsDiagnosticsSinkProperties is the BasicDiagnosticsSinkProperties implementation for DiagnosticsSinkProperties.

func (DiagnosticsSinkProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DiagnosticsSinkProperties.

type EndpointProperties Uses

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

EndpointProperties describes a container endpoint.

type EndpointRef Uses

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

EndpointRef describes a reference to a service endpoint.

type EnvironmentVariable Uses

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

EnvironmentVariable describes an environment variable for the container.

type ErrorDetailsModel Uses

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

ErrorDetailsModel error model details information

type ErrorErrorModel Uses

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 Uses

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

ErrorModel the error details.

type GatewayClient Uses

type GatewayClient struct {
    BaseClient
}

GatewayClient is the service Fabric Mesh Management Client

func NewGatewayClient Uses

func NewGatewayClient(subscriptionID string) GatewayClient

NewGatewayClient creates an instance of the GatewayClient client.

func NewGatewayClientWithBaseURI Uses

func NewGatewayClientWithBaseURI(baseURI string, subscriptionID string) GatewayClient

NewGatewayClientWithBaseURI creates an instance of the GatewayClient client.

func (GatewayClient) Create Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (GatewayClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (GatewayClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (GatewayClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (GatewayClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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

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

func (GatewayClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (GatewayClient) ListBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for GatewayResourceDescription.

func (*GatewayResourceDescription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for GatewayResourceDescription struct.

type GatewayResourceDescriptionList Uses

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 Uses

func (grdl GatewayResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type GatewayResourceDescriptionListIterator Uses

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

GatewayResourceDescriptionListIterator provides access to a complete listing of GatewayResourceDescription values.

func NewGatewayResourceDescriptionListIterator Uses

func NewGatewayResourceDescriptionListIterator(page GatewayResourceDescriptionListPage) GatewayResourceDescriptionListIterator

Creates a new instance of the GatewayResourceDescriptionListIterator type.

func (*GatewayResourceDescriptionListIterator) Next Uses

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

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 Uses

func (iter GatewayResourceDescriptionListIterator) NotDone() bool

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

func (GatewayResourceDescriptionListIterator) Response Uses

func (iter GatewayResourceDescriptionListIterator) Response() GatewayResourceDescriptionList

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

func (GatewayResourceDescriptionListIterator) Value Uses

func (iter GatewayResourceDescriptionListIterator) Value() GatewayResourceDescription

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

type GatewayResourceDescriptionListPage Uses

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

GatewayResourceDescriptionListPage contains a page of GatewayResourceDescription values.

func NewGatewayResourceDescriptionListPage Uses

func NewGatewayResourceDescriptionListPage(getNextPage func(context.Context, GatewayResourceDescriptionList) (GatewayResourceDescriptionList, error)) GatewayResourceDescriptionListPage

Creates a new instance of the GatewayResourceDescriptionListPage type.

func (*GatewayResourceDescriptionListPage) Next Uses

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

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 Uses

func (page GatewayResourceDescriptionListPage) NotDone() bool

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

func (GatewayResourceDescriptionListPage) Response Uses

func (page GatewayResourceDescriptionListPage) Response() GatewayResourceDescriptionList

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

func (GatewayResourceDescriptionListPage) Values Uses

func (page GatewayResourceDescriptionListPage) Values() []GatewayResourceDescription

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

type GatewayResourceProperties Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type HeaderMatchType string

HeaderMatchType enumerates the values for header match type.

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

func PossibleHeaderMatchTypeValues Uses

func PossibleHeaderMatchTypeValues() []HeaderMatchType

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

type HealthState Uses

type HealthState string

HealthState enumerates the values for health state.

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

func PossibleHealthStateValues Uses

func PossibleHealthStateValues() []HealthState

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

type ImageRegistryCredential Uses

type ImageRegistryCredential struct {
    // Server - Docker image registry server, without protocol such as `http` and `https`.
    Server *string `json:"server,omitempty"`
    // Username - The username for the private registry.
    Username *string `json:"username,omitempty"`
    // Password - The password for the private registry. 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 Uses

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 Uses

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

AsBasicSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) AsBasicSecretResourcePropertiesBase Uses

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

AsBasicSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) AsInlinedValueSecretResourceProperties Uses

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

AsInlinedValueSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) AsSecretResourceProperties Uses

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

AsSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) AsSecretResourcePropertiesBase Uses

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

AsSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for InlinedValueSecretResourceProperties.

func (InlinedValueSecretResourceProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for InlinedValueSecretResourceProperties.

type Kind Uses

type Kind string

Kind enumerates the values for kind.

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

func PossibleKindValues Uses

func PossibleKindValues() []Kind

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

type KindBasicApplicationScopedVolumeCreationParameters Uses

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 Uses

func PossibleKindBasicApplicationScopedVolumeCreationParametersValues() []KindBasicApplicationScopedVolumeCreationParameters

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

type KindBasicAutoScalingMechanism Uses

type KindBasicAutoScalingMechanism string

KindBasicAutoScalingMechanism enumerates the values for kind basic auto scaling mechanism.

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

func PossibleKindBasicAutoScalingMechanismValues Uses

func PossibleKindBasicAutoScalingMechanismValues() []KindBasicAutoScalingMechanism

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

type KindBasicAutoScalingMetric Uses

type KindBasicAutoScalingMetric string

KindBasicAutoScalingMetric enumerates the values for kind basic auto scaling metric.

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

func PossibleKindBasicAutoScalingMetricValues Uses

func PossibleKindBasicAutoScalingMetricValues() []KindBasicAutoScalingMetric

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

type KindBasicAutoScalingTrigger Uses

type KindBasicAutoScalingTrigger string

KindBasicAutoScalingTrigger enumerates the values for kind basic auto scaling trigger.

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

func PossibleKindBasicAutoScalingTriggerValues Uses

func PossibleKindBasicAutoScalingTriggerValues() []KindBasicAutoScalingTrigger

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

type KindBasicDiagnosticsSinkProperties Uses

type KindBasicDiagnosticsSinkProperties string

KindBasicDiagnosticsSinkProperties enumerates the values for kind basic diagnostics sink properties.

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

func PossibleKindBasicDiagnosticsSinkPropertiesValues Uses

func PossibleKindBasicDiagnosticsSinkPropertiesValues() []KindBasicDiagnosticsSinkProperties

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

type KindBasicNetworkResourcePropertiesBase Uses

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 Uses

func PossibleKindBasicNetworkResourcePropertiesBaseValues() []KindBasicNetworkResourcePropertiesBase

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

type LocalNetworkResourceProperties Uses

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 Uses

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

AsBasicNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) AsBasicNetworkResourcePropertiesBase Uses

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

AsBasicNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) AsLocalNetworkResourceProperties Uses

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

AsLocalNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) AsNetworkResourceProperties Uses

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

AsNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) AsNetworkResourcePropertiesBase Uses

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

AsNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for LocalNetworkResourceProperties.

func (LocalNetworkResourceProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for LocalNetworkResourceProperties.

type ManagedProxyResource Uses

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

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

type NetworkClient Uses

type NetworkClient struct {
    BaseClient
}

NetworkClient is the service Fabric Mesh Management Client

func NewNetworkClient Uses

func NewNetworkClient(subscriptionID string) NetworkClient

NewNetworkClient creates an instance of the NetworkClient client.

func NewNetworkClientWithBaseURI Uses

func NewNetworkClientWithBaseURI(baseURI string, subscriptionID string) NetworkClient

NewNetworkClientWithBaseURI creates an instance of the NetworkClient client.

func (NetworkClient) Create Uses

func (client NetworkClient) Create(ctx context.Context, resourceGroupName string, 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 Uses

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

CreatePreparer prepares the Create request.

func (NetworkClient) CreateResponder Uses

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

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

func (NetworkClient) CreateSender Uses

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

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

func (NetworkClient) Delete Uses

func (client NetworkClient) Delete(ctx context.Context, resourceGroupName string, 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 Uses

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

DeletePreparer prepares the Delete request.

func (NetworkClient) DeleteResponder Uses

func (client NetworkClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (NetworkClient) DeleteSender Uses

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

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

func (NetworkClient) Get Uses

func (client NetworkClient) Get(ctx context.Context, resourceGroupName string, 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 Uses

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

GetPreparer prepares the Get request.

func (NetworkClient) GetResponder Uses

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

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

func (NetworkClient) GetSender Uses

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

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

func (NetworkClient) ListByResourceGroup Uses

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

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

func (NetworkClient) ListByResourceGroupComplete Uses

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

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

func (NetworkClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (NetworkClient) ListByResourceGroupResponder Uses

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

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

func (NetworkClient) ListByResourceGroupSender Uses

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

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

func (NetworkClient) ListBySubscription Uses

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

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

func (NetworkClient) ListBySubscriptionComplete Uses

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

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

func (NetworkClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (NetworkClient) ListBySubscriptionResponder Uses

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

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

func (NetworkClient) ListBySubscriptionSender Uses

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

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

type NetworkKind Uses

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 Uses

func PossibleNetworkKindValues() []NetworkKind

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

type NetworkRef Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for NetworkResourceDescription.

func (*NetworkResourceDescription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for NetworkResourceDescription struct.

type NetworkResourceDescriptionList Uses

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

NetworkResourceDescriptionList a pageable list of network resources.

func (NetworkResourceDescriptionList) IsEmpty Uses

func (nrdl NetworkResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type NetworkResourceDescriptionListIterator Uses

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

NetworkResourceDescriptionListIterator provides access to a complete listing of NetworkResourceDescription values.

func NewNetworkResourceDescriptionListIterator Uses

func NewNetworkResourceDescriptionListIterator(page NetworkResourceDescriptionListPage) NetworkResourceDescriptionListIterator

Creates a new instance of the NetworkResourceDescriptionListIterator type.

func (*NetworkResourceDescriptionListIterator) Next Uses

func (iter *NetworkResourceDescriptionListIterator) Next() error

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

func (*NetworkResourceDescriptionListIterator) NextWithContext Uses

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

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

func (NetworkResourceDescriptionListIterator) NotDone Uses

func (iter NetworkResourceDescriptionListIterator) NotDone() bool

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

func (NetworkResourceDescriptionListIterator) Response Uses

func (iter NetworkResourceDescriptionListIterator) Response() NetworkResourceDescriptionList

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

func (NetworkResourceDescriptionListIterator) Value Uses

func (iter NetworkResourceDescriptionListIterator) Value() NetworkResourceDescription

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

type NetworkResourceDescriptionListPage Uses

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

NetworkResourceDescriptionListPage contains a page of NetworkResourceDescription values.

func NewNetworkResourceDescriptionListPage Uses

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

Creates a new instance of the NetworkResourceDescriptionListPage type.

func (*NetworkResourceDescriptionListPage) Next Uses

func (page *NetworkResourceDescriptionListPage) Next() error

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

func (*NetworkResourceDescriptionListPage) NextWithContext Uses

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

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

func (NetworkResourceDescriptionListPage) NotDone Uses

func (page NetworkResourceDescriptionListPage) NotDone() bool

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

func (NetworkResourceDescriptionListPage) Response Uses

func (page NetworkResourceDescriptionListPage) Response() NetworkResourceDescriptionList

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

func (NetworkResourceDescriptionListPage) Values Uses

func (page NetworkResourceDescriptionListPage) Values() []NetworkResourceDescription

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

type NetworkResourceProperties Uses

type NetworkResourceProperties struct {
    // 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 Uses

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

AsBasicNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) AsBasicNetworkResourcePropertiesBase Uses

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

AsBasicNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) AsLocalNetworkResourceProperties Uses

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

AsLocalNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) AsNetworkResourceProperties Uses

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

AsNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) AsNetworkResourcePropertiesBase Uses

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

AsNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for NetworkResourceProperties.

func (NetworkResourceProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for NetworkResourceProperties.

type NetworkResourcePropertiesBase Uses

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 Uses

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

AsBasicNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) AsBasicNetworkResourcePropertiesBase Uses

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

AsBasicNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) AsLocalNetworkResourceProperties Uses

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

AsLocalNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) AsNetworkResourceProperties Uses

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

AsNetworkResourceProperties is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) AsNetworkResourcePropertiesBase Uses

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

AsNetworkResourcePropertiesBase is the BasicNetworkResourcePropertiesBase implementation for NetworkResourcePropertiesBase.

func (NetworkResourcePropertiesBase) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for NetworkResourcePropertiesBase.

type OperatingSystemType Uses

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 Uses

func PossibleOperatingSystemTypeValues() []OperatingSystemType

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

type OperationListResult Uses

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

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

func (OperationListResult) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of OperationResult values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

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

func (*OperationListResultIterator) NextWithContext Uses

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

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

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() OperationResult

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of OperationResult values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

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

func (*OperationListResultPage) NextWithContext Uses

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

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

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []OperationResult

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

type OperationResult Uses

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

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

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the service Fabric Mesh Management Client

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

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

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

func (OperationsClient) ListComplete Uses

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

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

func (OperationsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

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

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

func (OperationsClient) ListSender Uses

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

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

type ProvisionedResourceProperties Uses

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

ProvisionedResourceProperties describes common properties of a provisioned resource.

type ProxyResource Uses

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

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

type ReliableCollectionsRef Uses

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 Uses

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

Resource the resource model definition for Azure Resource Manager resource.

type ResourceLimits Uses

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

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

type ResourceRequests Uses

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

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

type ResourceRequirements Uses

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

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

type ResourceStatus Uses

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 Uses

func PossibleResourceStatusValues() []ResourceStatus

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

type SecretClient Uses

type SecretClient struct {
    BaseClient
}

SecretClient is the service Fabric Mesh Management Client

func NewSecretClient Uses

func NewSecretClient(subscriptionID string) SecretClient

NewSecretClient creates an instance of the SecretClient client.

func NewSecretClientWithBaseURI Uses

func NewSecretClientWithBaseURI(baseURI string, subscriptionID string) SecretClient

NewSecretClientWithBaseURI creates an instance of the SecretClient client.

func (SecretClient) Create Uses

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 Uses

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

CreatePreparer prepares the Create request.

func (SecretClient) CreateResponder Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (SecretClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (SecretClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (SecretClient) ListByResourceGroupResponder Uses

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 Uses

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 Uses

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 Uses

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

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

func (SecretClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (SecretClient) ListBySubscriptionResponder Uses

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 Uses

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 Uses

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 Uses

func PossibleSecretKindValues() []SecretKind

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

type SecretResourceDescription Uses

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 Uses

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

MarshalJSON is the custom marshaler for SecretResourceDescription.

func (*SecretResourceDescription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SecretResourceDescription struct.

type SecretResourceDescriptionList Uses

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 Uses

func (srdl SecretResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SecretResourceDescriptionListIterator Uses

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

SecretResourceDescriptionListIterator provides access to a complete listing of SecretResourceDescription values.

func NewSecretResourceDescriptionListIterator Uses

func NewSecretResourceDescriptionListIterator(page SecretResourceDescriptionListPage) SecretResourceDescriptionListIterator

Creates a new instance of the SecretResourceDescriptionListIterator type.

func (*SecretResourceDescriptionListIterator) Next Uses

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

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 Uses

func (iter SecretResourceDescriptionListIterator) NotDone() bool

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

func (SecretResourceDescriptionListIterator) Response Uses

func (iter SecretResourceDescriptionListIterator) Response() SecretResourceDescriptionList

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

func (SecretResourceDescriptionListIterator) Value Uses

func (iter SecretResourceDescriptionListIterator) Value() SecretResourceDescription

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

type SecretResourceDescriptionListPage Uses

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

SecretResourceDescriptionListPage contains a page of SecretResourceDescription values.

func NewSecretResourceDescriptionListPage Uses

func NewSecretResourceDescriptionListPage(getNextPage func(context.Context, SecretResourceDescriptionList) (SecretResourceDescriptionList, error)) SecretResourceDescriptionListPage

Creates a new instance of the SecretResourceDescriptionListPage type.

func (*SecretResourceDescriptionListPage) Next Uses

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

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 Uses

func (page SecretResourceDescriptionListPage) NotDone() bool

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

func (SecretResourceDescriptionListPage) Response Uses

func (page SecretResourceDescriptionListPage) Response() SecretResourceDescriptionList

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

func (SecretResourceDescriptionListPage) Values Uses

func (page SecretResourceDescriptionListPage) Values() []SecretResourceDescription

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

type SecretResourceProperties Uses

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 Uses

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

AsBasicSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) AsBasicSecretResourcePropertiesBase Uses

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

AsBasicSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) AsInlinedValueSecretResourceProperties Uses

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

AsInlinedValueSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) AsSecretResourceProperties Uses

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

AsSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) AsSecretResourcePropertiesBase Uses

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

AsSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for SecretResourceProperties.

func (SecretResourceProperties) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SecretResourceProperties.

type SecretResourcePropertiesBase Uses

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 Uses

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

AsBasicSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) AsBasicSecretResourcePropertiesBase Uses

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

AsBasicSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) AsInlinedValueSecretResourceProperties Uses

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

AsInlinedValueSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) AsSecretResourceProperties Uses

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

AsSecretResourceProperties is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) AsSecretResourcePropertiesBase Uses

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

AsSecretResourcePropertiesBase is the BasicSecretResourcePropertiesBase implementation for SecretResourcePropertiesBase.

func (SecretResourcePropertiesBase) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for SecretResourcePropertiesBase.

type SecretValue Uses

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 Uses

type SecretValueClient struct {
    BaseClient
}

SecretValueClient is the service Fabric Mesh Management Client

func NewSecretValueClient Uses

func NewSecretValueClient(subscriptionID string) SecretValueClient

NewSecretValueClient creates an instance of the SecretValueClient client.

func NewSecretValueClientWithBaseURI Uses

func NewSecretValueClientWithBaseURI(baseURI string, subscriptionID string) SecretValueClient

NewSecretValueClientWithBaseURI creates an instance of the SecretValueClient client.

func (SecretValueClient) Create Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (SecretValueClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (SecretValueClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (SecretValueClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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

ListValuePreparer prepares the ListValue request.

func (SecretValueClient) ListValueResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for SecretValueResourceDescription.

func (*SecretValueResourceDescription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for SecretValueResourceDescription struct.

type SecretValueResourceDescriptionList Uses

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 Uses

func (svrdl SecretValueResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SecretValueResourceDescriptionListIterator Uses

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

SecretValueResourceDescriptionListIterator provides access to a complete listing of SecretValueResourceDescription values.

func NewSecretValueResourceDescriptionListIterator Uses

func NewSecretValueResourceDescriptionListIterator(page SecretValueResourceDescriptionListPage) SecretValueResourceDescriptionListIterator

Creates a new instance of the SecretValueResourceDescriptionListIterator type.

func (*SecretValueResourceDescriptionListIterator) Next Uses

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

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 Uses

func (iter SecretValueResourceDescriptionListIterator) NotDone() bool

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

func (SecretValueResourceDescriptionListIterator) Response Uses

func (iter SecretValueResourceDescriptionListIterator) Response() SecretValueResourceDescriptionList

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

func (SecretValueResourceDescriptionListIterator) Value Uses

func (iter SecretValueResourceDescriptionListIterator) Value() SecretValueResourceDescription

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

type SecretValueResourceDescriptionListPage Uses

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

SecretValueResourceDescriptionListPage contains a page of SecretValueResourceDescription values.

func NewSecretValueResourceDescriptionListPage Uses

func NewSecretValueResourceDescriptionListPage(getNextPage func(context.Context, SecretValueResourceDescriptionList) (SecretValueResourceDescriptionList, error)) SecretValueResourceDescriptionListPage

Creates a new instance of the SecretValueResourceDescriptionListPage type.

func (*SecretValueResourceDescriptionListPage) Next Uses

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

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 Uses

func (page SecretValueResourceDescriptionListPage) NotDone() bool

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

func (SecretValueResourceDescriptionListPage) Response Uses

func (page SecretValueResourceDescriptionListPage) Response() SecretValueResourceDescriptionList

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

func (SecretValueResourceDescriptionListPage) Values Uses

func (page SecretValueResourceDescriptionListPage) Values() []SecretValueResourceDescription

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

type SecretValueResourceProperties Uses

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 Uses

type ServiceClient struct {
    BaseClient
}

ServiceClient is the service Fabric Mesh Management Client

func NewServiceClient Uses

func NewServiceClient(subscriptionID string) ServiceClient

NewServiceClient creates an instance of the ServiceClient client.

func NewServiceClientWithBaseURI Uses

func NewServiceClientWithBaseURI(baseURI string, subscriptionID string) ServiceClient

NewServiceClientWithBaseURI creates an instance of the ServiceClient client.

func (ServiceClient) Get Uses

func (client ServiceClient) Get(ctx context.Context, resourceGroupName string, 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 Uses

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

GetPreparer prepares the Get request.

func (ServiceClient) GetResponder Uses

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

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

func (ServiceClient) GetSender Uses

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

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

func (ServiceClient) List Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ServiceClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

type ServiceReplicaClient struct {
    BaseClient
}

ServiceReplicaClient is the service Fabric Mesh Management Client

func NewServiceReplicaClient Uses

func NewServiceReplicaClient(subscriptionID string) ServiceReplicaClient

NewServiceReplicaClient creates an instance of the ServiceReplicaClient client.

func NewServiceReplicaClientWithBaseURI Uses

func NewServiceReplicaClientWithBaseURI(baseURI string, subscriptionID string) ServiceReplicaClient

NewServiceReplicaClientWithBaseURI creates an instance of the ServiceReplicaClient client.

func (ServiceReplicaClient) Get Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ServiceReplicaClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (srdl ServiceReplicaDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceReplicaDescriptionListIterator Uses

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

ServiceReplicaDescriptionListIterator provides access to a complete listing of ServiceReplicaDescription values.

func NewServiceReplicaDescriptionListIterator Uses

func NewServiceReplicaDescriptionListIterator(page ServiceReplicaDescriptionListPage) ServiceReplicaDescriptionListIterator

Creates a new instance of the ServiceReplicaDescriptionListIterator type.

func (*ServiceReplicaDescriptionListIterator) Next Uses

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

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 Uses

func (iter ServiceReplicaDescriptionListIterator) NotDone() bool

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

func (ServiceReplicaDescriptionListIterator) Response Uses

func (iter ServiceReplicaDescriptionListIterator) Response() ServiceReplicaDescriptionList

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

func (ServiceReplicaDescriptionListIterator) Value Uses

func (iter ServiceReplicaDescriptionListIterator) Value() ServiceReplicaDescription

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

type ServiceReplicaDescriptionListPage Uses

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

ServiceReplicaDescriptionListPage contains a page of ServiceReplicaDescription values.

func NewServiceReplicaDescriptionListPage Uses

func NewServiceReplicaDescriptionListPage(getNextPage func(context.Context, ServiceReplicaDescriptionList) (ServiceReplicaDescriptionList, error)) ServiceReplicaDescriptionListPage

Creates a new instance of the ServiceReplicaDescriptionListPage type.

func (*ServiceReplicaDescriptionListPage) Next Uses

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

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 Uses

func (page ServiceReplicaDescriptionListPage) NotDone() bool

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

func (ServiceReplicaDescriptionListPage) Response Uses

func (page ServiceReplicaDescriptionListPage) Response() ServiceReplicaDescriptionList

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

func (ServiceReplicaDescriptionListPage) Values Uses

func (page ServiceReplicaDescriptionListPage) Values() []ServiceReplicaDescription

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

type ServiceReplicaProperties Uses

type ServiceReplicaProperties struct {
    // OsType - The 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 Uses

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

ServiceResourceDescription this type describes a service resource.

func (ServiceResourceDescription) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for ServiceResourceDescription.

func (*ServiceResourceDescription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ServiceResourceDescription struct.

type ServiceResourceDescriptionList Uses

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 Uses

func (srdl ServiceResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ServiceResourceDescriptionListIterator Uses

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

ServiceResourceDescriptionListIterator provides access to a complete listing of ServiceResourceDescription values.

func NewServiceResourceDescriptionListIterator Uses

func NewServiceResourceDescriptionListIterator(page ServiceResourceDescriptionListPage) ServiceResourceDescriptionListIterator

Creates a new instance of the ServiceResourceDescriptionListIterator type.

func (*ServiceResourceDescriptionListIterator) Next Uses

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

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 Uses

func (iter ServiceResourceDescriptionListIterator) NotDone() bool

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

func (ServiceResourceDescriptionListIterator) Response Uses

func (iter ServiceResourceDescriptionListIterator) Response() ServiceResourceDescriptionList

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

func (ServiceResourceDescriptionListIterator) Value Uses

func (iter ServiceResourceDescriptionListIterator) Value() ServiceResourceDescription

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

type ServiceResourceDescriptionListPage Uses

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

ServiceResourceDescriptionListPage contains a page of ServiceResourceDescription values.

func NewServiceResourceDescriptionListPage Uses

func NewServiceResourceDescriptionListPage(getNextPage func(context.Context, ServiceResourceDescriptionList) (ServiceResourceDescriptionList, error)) ServiceResourceDescriptionListPage

Creates a new instance of the ServiceResourceDescriptionListPage type.

func (*ServiceResourceDescriptionListPage) Next Uses

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

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 Uses

func (page ServiceResourceDescriptionListPage) NotDone() bool

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

func (ServiceResourceDescriptionListPage) Response Uses

func (page ServiceResourceDescriptionListPage) Response() ServiceResourceDescriptionList

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

func (ServiceResourceDescriptionListPage) Values Uses

func (page ServiceResourceDescriptionListPage) Values() []ServiceResourceDescription

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

type ServiceResourceProperties Uses

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 Uses

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

Setting describes a setting for the container. 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 Uses

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 Uses

func PossibleSizeTypesValues() []SizeTypes

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

type TCPConfig Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for TrackedResource.

type VolumeClient Uses

type VolumeClient struct {
    BaseClient
}

VolumeClient is the service Fabric Mesh Management Client

func NewVolumeClient Uses

func NewVolumeClient(subscriptionID string) VolumeClient

NewVolumeClient creates an instance of the VolumeClient client.

func NewVolumeClientWithBaseURI Uses

func NewVolumeClientWithBaseURI(baseURI string, subscriptionID string) VolumeClient

NewVolumeClientWithBaseURI creates an instance of the VolumeClient client.

func (VolumeClient) Create Uses

func (client VolumeClient) Create(ctx context.Context, resourceGroupName string, 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 Uses

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

CreatePreparer prepares the Create request.

func (VolumeClient) CreateResponder Uses

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

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

func (VolumeClient) CreateSender Uses

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

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

func (VolumeClient) Delete Uses

func (client VolumeClient) Delete(ctx context.Context, resourceGroupName string, 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 Uses

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

DeletePreparer prepares the Delete request.

func (VolumeClient) DeleteResponder Uses

func (client VolumeClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VolumeClient) DeleteSender Uses

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

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

func (VolumeClient) Get Uses

func (client VolumeClient) Get(ctx context.Context, resourceGroupName string, 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 Uses

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

GetPreparer prepares the Get request.

func (VolumeClient) GetResponder Uses

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

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

func (VolumeClient) GetSender Uses

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

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

func (VolumeClient) ListByResourceGroup Uses

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

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

func (VolumeClient) ListByResourceGroupComplete Uses

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

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

func (VolumeClient) ListByResourceGroupPreparer Uses

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

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (VolumeClient) ListByResourceGroupResponder Uses

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

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

func (VolumeClient) ListByResourceGroupSender Uses

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

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

func (VolumeClient) ListBySubscription Uses

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

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

func (VolumeClient) ListBySubscriptionComplete Uses

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

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

func (VolumeClient) ListBySubscriptionPreparer Uses

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

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (VolumeClient) ListBySubscriptionResponder Uses

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

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

func (VolumeClient) ListBySubscriptionSender Uses

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

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

type VolumeProperties Uses

type VolumeProperties struct {
    // Description - User readable description of the volume.
    Description *string `json:"description,omitempty"`
    // 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 Uses

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 Uses

func PossibleVolumeProviderValues() []VolumeProvider

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

type VolumeProviderParametersAzureFile Uses

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

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

type VolumeReference Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for VolumeResourceDescription.

func (*VolumeResourceDescription) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for VolumeResourceDescription struct.

type VolumeResourceDescriptionList Uses

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

VolumeResourceDescriptionList a pageable list of volume resources.

func (VolumeResourceDescriptionList) IsEmpty Uses

func (vrdl VolumeResourceDescriptionList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VolumeResourceDescriptionListIterator Uses

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

VolumeResourceDescriptionListIterator provides access to a complete listing of VolumeResourceDescription values.

func NewVolumeResourceDescriptionListIterator Uses

func NewVolumeResourceDescriptionListIterator(page VolumeResourceDescriptionListPage) VolumeResourceDescriptionListIterator

Creates a new instance of the VolumeResourceDescriptionListIterator type.

func (*VolumeResourceDescriptionListIterator) Next Uses

func (iter *VolumeResourceDescriptionListIterator) Next() error

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

func (*VolumeResourceDescriptionListIterator) NextWithContext Uses

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

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

func (VolumeResourceDescriptionListIterator) NotDone Uses

func (iter VolumeResourceDescriptionListIterator) NotDone() bool

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

func (VolumeResourceDescriptionListIterator) Response Uses

func (iter VolumeResourceDescriptionListIterator) Response() VolumeResourceDescriptionList

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

func (VolumeResourceDescriptionListIterator) Value Uses

func (iter VolumeResourceDescriptionListIterator) Value() VolumeResourceDescription

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

type VolumeResourceDescriptionListPage Uses

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

VolumeResourceDescriptionListPage contains a page of VolumeResourceDescription values.

func NewVolumeResourceDescriptionListPage Uses

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

Creates a new instance of the VolumeResourceDescriptionListPage type.

func (*VolumeResourceDescriptionListPage) Next Uses

func (page *VolumeResourceDescriptionListPage) Next() error

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

func (*VolumeResourceDescriptionListPage) NextWithContext Uses

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

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

func (VolumeResourceDescriptionListPage) NotDone Uses

func (page VolumeResourceDescriptionListPage) NotDone() bool

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

func (VolumeResourceDescriptionListPage) Response Uses

func (page VolumeResourceDescriptionListPage) Response() VolumeResourceDescriptionList

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

func (VolumeResourceDescriptionListPage) Values Uses

func (page VolumeResourceDescriptionListPage) Values() []VolumeResourceDescription

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

type VolumeResourceProperties Uses

type VolumeResourceProperties struct {
    // ProvisioningState - READ-ONLY; State of the resource.
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // Description - User readable description of the volume.
    Description *string `json:"description,omitempty"`
    // 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

PathSynopsis
servicefabricmeshapi

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