Documentation ¶
Index ¶
- type AppResource
- type AppResourceCollection
- type AppResourceProperties
- type AppResourceProvisioningState
- type ApplicationInsightsAgentVersions
- type AppsBeginCreateOrUpdateOptions
- type AppsBeginDeleteOptions
- type AppsBeginUpdateOptions
- type AppsClient
- func (client *AppsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (AppsCreateOrUpdatePollerResponse, error)
- func (client *AppsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, ...) (AppsDeletePollerResponse, error)
- func (client *AppsClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (AppsUpdatePollerResponse, error)
- func (client *AppsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (AppsGetResponse, error)
- func (client *AppsClient) GetResourceUploadURL(ctx context.Context, resourceGroupName string, serviceName string, ...) (AppsGetResourceUploadURLResponse, error)
- func (client *AppsClient) List(resourceGroupName string, serviceName string, options *AppsListOptions) *AppsListPager
- func (client *AppsClient) ValidateDomain(ctx context.Context, resourceGroupName string, serviceName string, ...) (AppsValidateDomainResponse, error)
- type AppsCreateOrUpdatePoller
- func (p *AppsCreateOrUpdatePoller) Done() bool
- func (p *AppsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (AppsCreateOrUpdateResponse, error)
- func (p *AppsCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *AppsCreateOrUpdatePoller) ResumeToken() (string, error)
- type AppsCreateOrUpdatePollerResponse
- type AppsCreateOrUpdateResponse
- type AppsCreateOrUpdateResult
- type AppsDeletePoller
- type AppsDeletePollerResponse
- type AppsDeleteResponse
- type AppsGetOptions
- type AppsGetResourceUploadURLOptions
- type AppsGetResourceUploadURLResponse
- type AppsGetResourceUploadURLResult
- type AppsGetResponse
- type AppsGetResult
- type AppsListOptions
- type AppsListPager
- type AppsListResponse
- type AppsListResult
- type AppsUpdatePoller
- type AppsUpdatePollerResponse
- type AppsUpdateResponse
- type AppsUpdateResult
- type AppsValidateDomainOptions
- type AppsValidateDomainResponse
- type AppsValidateDomainResult
- type AvailableOperations
- type AvailableRuntimeVersions
- type AzureFileVolume
- type BindingResource
- type BindingResourceCollection
- type BindingResourceProperties
- type BindingsBeginCreateOrUpdateOptions
- type BindingsBeginDeleteOptions
- type BindingsBeginUpdateOptions
- type BindingsClient
- func (client *BindingsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (BindingsCreateOrUpdatePollerResponse, error)
- func (client *BindingsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, ...) (BindingsDeletePollerResponse, error)
- func (client *BindingsClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (BindingsUpdatePollerResponse, error)
- func (client *BindingsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (BindingsGetResponse, error)
- func (client *BindingsClient) List(resourceGroupName string, serviceName string, appName string, ...) *BindingsListPager
- type BindingsCreateOrUpdatePoller
- func (p *BindingsCreateOrUpdatePoller) Done() bool
- func (p *BindingsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (BindingsCreateOrUpdateResponse, error)
- func (p *BindingsCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *BindingsCreateOrUpdatePoller) ResumeToken() (string, error)
- type BindingsCreateOrUpdatePollerResponse
- type BindingsCreateOrUpdateResponse
- type BindingsCreateOrUpdateResult
- type BindingsDeletePoller
- type BindingsDeletePollerResponse
- type BindingsDeleteResponse
- type BindingsGetOptions
- type BindingsGetResponse
- type BindingsGetResult
- type BindingsListOptions
- type BindingsListPager
- type BindingsListResponse
- type BindingsListResult
- type BindingsUpdatePoller
- type BindingsUpdatePollerResponse
- type BindingsUpdateResponse
- type BindingsUpdateResult
- type CertificateProperties
- type CertificatePropertiesClassification
- type CertificateResource
- type CertificateResourceCollection
- type CertificatesBeginCreateOrUpdateOptions
- type CertificatesBeginDeleteOptions
- type CertificatesClient
- func (client *CertificatesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (CertificatesCreateOrUpdatePollerResponse, error)
- func (client *CertificatesClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, ...) (CertificatesDeletePollerResponse, error)
- func (client *CertificatesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (CertificatesGetResponse, error)
- func (client *CertificatesClient) List(resourceGroupName string, serviceName string, options *CertificatesListOptions) *CertificatesListPager
- type CertificatesCreateOrUpdatePoller
- func (p *CertificatesCreateOrUpdatePoller) Done() bool
- func (p *CertificatesCreateOrUpdatePoller) FinalResponse(ctx context.Context) (CertificatesCreateOrUpdateResponse, error)
- func (p *CertificatesCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CertificatesCreateOrUpdatePoller) ResumeToken() (string, error)
- type CertificatesCreateOrUpdatePollerResponse
- type CertificatesCreateOrUpdateResponse
- type CertificatesCreateOrUpdateResult
- type CertificatesDeletePoller
- func (p *CertificatesDeletePoller) Done() bool
- func (p *CertificatesDeletePoller) FinalResponse(ctx context.Context) (CertificatesDeleteResponse, error)
- func (p *CertificatesDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CertificatesDeletePoller) ResumeToken() (string, error)
- type CertificatesDeletePollerResponse
- type CertificatesDeleteResponse
- type CertificatesGetOptions
- type CertificatesGetResponse
- type CertificatesGetResult
- type CertificatesListOptions
- type CertificatesListPager
- type CertificatesListResponse
- type CertificatesListResult
- type CloudError
- type CloudErrorBody
- type ClusterResourceProperties
- type ConfigServerGitProperty
- type ConfigServerProperties
- type ConfigServerResource
- type ConfigServerSettings
- type ConfigServerSettingsErrorRecord
- type ConfigServerSettingsValidateResult
- type ConfigServerState
- type ConfigServersBeginUpdatePatchOptions
- type ConfigServersBeginUpdatePutOptions
- type ConfigServersBeginValidateOptions
- type ConfigServersClient
- func (client *ConfigServersClient) BeginUpdatePatch(ctx context.Context, resourceGroupName string, serviceName string, ...) (ConfigServersUpdatePatchPollerResponse, error)
- func (client *ConfigServersClient) BeginUpdatePut(ctx context.Context, resourceGroupName string, serviceName string, ...) (ConfigServersUpdatePutPollerResponse, error)
- func (client *ConfigServersClient) BeginValidate(ctx context.Context, resourceGroupName string, serviceName string, ...) (ConfigServersValidatePollerResponse, error)
- func (client *ConfigServersClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (ConfigServersGetResponse, error)
- type ConfigServersGetOptions
- type ConfigServersGetResponse
- type ConfigServersGetResult
- type ConfigServersUpdatePatchPoller
- func (p *ConfigServersUpdatePatchPoller) Done() bool
- func (p *ConfigServersUpdatePatchPoller) FinalResponse(ctx context.Context) (ConfigServersUpdatePatchResponse, error)
- func (p *ConfigServersUpdatePatchPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ConfigServersUpdatePatchPoller) ResumeToken() (string, error)
- type ConfigServersUpdatePatchPollerResponse
- type ConfigServersUpdatePatchResponse
- type ConfigServersUpdatePatchResult
- type ConfigServersUpdatePutPoller
- func (p *ConfigServersUpdatePutPoller) Done() bool
- func (p *ConfigServersUpdatePutPoller) FinalResponse(ctx context.Context) (ConfigServersUpdatePutResponse, error)
- func (p *ConfigServersUpdatePutPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ConfigServersUpdatePutPoller) ResumeToken() (string, error)
- type ConfigServersUpdatePutPollerResponse
- type ConfigServersUpdatePutResponse
- type ConfigServersUpdatePutResult
- type ConfigServersValidatePoller
- func (p *ConfigServersValidatePoller) Done() bool
- func (p *ConfigServersValidatePoller) FinalResponse(ctx context.Context) (ConfigServersValidateResponse, error)
- func (p *ConfigServersValidatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ConfigServersValidatePoller) ResumeToken() (string, error)
- type ConfigServersValidatePollerResponse
- type ConfigServersValidateResponse
- type ConfigServersValidateResult
- type ContentCertificateProperties
- type CreatedByType
- type CustomContainer
- type CustomDomainProperties
- type CustomDomainResource
- type CustomDomainResourceCollection
- type CustomDomainValidatePayload
- type CustomDomainValidateResult
- type CustomDomainsBeginCreateOrUpdateOptions
- type CustomDomainsBeginDeleteOptions
- type CustomDomainsBeginUpdateOptions
- type CustomDomainsClient
- func (client *CustomDomainsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (CustomDomainsCreateOrUpdatePollerResponse, error)
- func (client *CustomDomainsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, ...) (CustomDomainsDeletePollerResponse, error)
- func (client *CustomDomainsClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (CustomDomainsUpdatePollerResponse, error)
- func (client *CustomDomainsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (CustomDomainsGetResponse, error)
- func (client *CustomDomainsClient) List(resourceGroupName string, serviceName string, appName string, ...) *CustomDomainsListPager
- type CustomDomainsCreateOrUpdatePoller
- func (p *CustomDomainsCreateOrUpdatePoller) Done() bool
- func (p *CustomDomainsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (CustomDomainsCreateOrUpdateResponse, error)
- func (p *CustomDomainsCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CustomDomainsCreateOrUpdatePoller) ResumeToken() (string, error)
- type CustomDomainsCreateOrUpdatePollerResponse
- type CustomDomainsCreateOrUpdateResponse
- type CustomDomainsCreateOrUpdateResult
- type CustomDomainsDeletePoller
- func (p *CustomDomainsDeletePoller) Done() bool
- func (p *CustomDomainsDeletePoller) FinalResponse(ctx context.Context) (CustomDomainsDeleteResponse, error)
- func (p *CustomDomainsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CustomDomainsDeletePoller) ResumeToken() (string, error)
- type CustomDomainsDeletePollerResponse
- type CustomDomainsDeleteResponse
- type CustomDomainsGetOptions
- type CustomDomainsGetResponse
- type CustomDomainsGetResult
- type CustomDomainsListOptions
- type CustomDomainsListPager
- type CustomDomainsListResponse
- type CustomDomainsListResult
- type CustomDomainsUpdatePoller
- func (p *CustomDomainsUpdatePoller) Done() bool
- func (p *CustomDomainsUpdatePoller) FinalResponse(ctx context.Context) (CustomDomainsUpdateResponse, error)
- func (p *CustomDomainsUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *CustomDomainsUpdatePoller) ResumeToken() (string, error)
- type CustomDomainsUpdatePollerResponse
- type CustomDomainsUpdateResponse
- type CustomDomainsUpdateResult
- type CustomPersistentDiskProperties
- type CustomPersistentDiskPropertiesClassification
- type CustomPersistentDiskPropertiesType
- type CustomPersistentDiskResource
- type DeploymentInstance
- type DeploymentResource
- type DeploymentResourceCollection
- type DeploymentResourceProperties
- type DeploymentResourceProvisioningState
- type DeploymentResourceStatus
- type DeploymentSettings
- type DeploymentSettingsContainerProbeSettings
- type DeploymentsBeginCreateOrUpdateOptions
- type DeploymentsBeginDeleteOptions
- type DeploymentsBeginGenerateHeapDumpOptions
- type DeploymentsBeginGenerateThreadDumpOptions
- type DeploymentsBeginRestartOptions
- type DeploymentsBeginStartJFROptions
- type DeploymentsBeginStartOptions
- type DeploymentsBeginStopOptions
- type DeploymentsBeginUpdateOptions
- type DeploymentsClient
- func (client *DeploymentsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsCreateOrUpdatePollerResponse, error)
- func (client *DeploymentsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsDeletePollerResponse, error)
- func (client *DeploymentsClient) BeginGenerateHeapDump(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsGenerateHeapDumpPollerResponse, error)
- func (client *DeploymentsClient) BeginGenerateThreadDump(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsGenerateThreadDumpPollerResponse, error)
- func (client *DeploymentsClient) BeginRestart(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsRestartPollerResponse, error)
- func (client *DeploymentsClient) BeginStart(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsStartPollerResponse, error)
- func (client *DeploymentsClient) BeginStartJFR(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsStartJFRPollerResponse, error)
- func (client *DeploymentsClient) BeginStop(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsStopPollerResponse, error)
- func (client *DeploymentsClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsUpdatePollerResponse, error)
- func (client *DeploymentsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsGetResponse, error)
- func (client *DeploymentsClient) GetLogFileURL(ctx context.Context, resourceGroupName string, serviceName string, ...) (DeploymentsGetLogFileURLResponse, error)
- func (client *DeploymentsClient) List(resourceGroupName string, serviceName string, appName string, ...) *DeploymentsListPager
- func (client *DeploymentsClient) ListForCluster(resourceGroupName string, serviceName string, ...) *DeploymentsListForClusterPager
- type DeploymentsCreateOrUpdatePoller
- func (p *DeploymentsCreateOrUpdatePoller) Done() bool
- func (p *DeploymentsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (DeploymentsCreateOrUpdateResponse, error)
- func (p *DeploymentsCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *DeploymentsCreateOrUpdatePoller) ResumeToken() (string, error)
- type DeploymentsCreateOrUpdatePollerResponse
- type DeploymentsCreateOrUpdateResponse
- type DeploymentsCreateOrUpdateResult
- type DeploymentsDeletePoller
- type DeploymentsDeletePollerResponse
- type DeploymentsDeleteResponse
- type DeploymentsGenerateHeapDumpPoller
- func (p *DeploymentsGenerateHeapDumpPoller) Done() bool
- func (p *DeploymentsGenerateHeapDumpPoller) FinalResponse(ctx context.Context) (DeploymentsGenerateHeapDumpResponse, error)
- func (p *DeploymentsGenerateHeapDumpPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *DeploymentsGenerateHeapDumpPoller) ResumeToken() (string, error)
- type DeploymentsGenerateHeapDumpPollerResponse
- type DeploymentsGenerateHeapDumpResponse
- type DeploymentsGenerateThreadDumpPoller
- func (p *DeploymentsGenerateThreadDumpPoller) Done() bool
- func (p *DeploymentsGenerateThreadDumpPoller) FinalResponse(ctx context.Context) (DeploymentsGenerateThreadDumpResponse, error)
- func (p *DeploymentsGenerateThreadDumpPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *DeploymentsGenerateThreadDumpPoller) ResumeToken() (string, error)
- type DeploymentsGenerateThreadDumpPollerResponse
- type DeploymentsGenerateThreadDumpResponse
- type DeploymentsGetLogFileURLOptions
- type DeploymentsGetLogFileURLResponse
- type DeploymentsGetLogFileURLResult
- type DeploymentsGetOptions
- type DeploymentsGetResponse
- type DeploymentsGetResult
- type DeploymentsListForClusterOptions
- type DeploymentsListForClusterPager
- type DeploymentsListForClusterResponse
- type DeploymentsListForClusterResult
- type DeploymentsListOptions
- type DeploymentsListPager
- type DeploymentsListResponse
- type DeploymentsListResult
- type DeploymentsRestartPoller
- func (p *DeploymentsRestartPoller) Done() bool
- func (p *DeploymentsRestartPoller) FinalResponse(ctx context.Context) (DeploymentsRestartResponse, error)
- func (p *DeploymentsRestartPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *DeploymentsRestartPoller) ResumeToken() (string, error)
- type DeploymentsRestartPollerResponse
- type DeploymentsRestartResponse
- type DeploymentsStartJFRPoller
- func (p *DeploymentsStartJFRPoller) Done() bool
- func (p *DeploymentsStartJFRPoller) FinalResponse(ctx context.Context) (DeploymentsStartJFRResponse, error)
- func (p *DeploymentsStartJFRPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *DeploymentsStartJFRPoller) ResumeToken() (string, error)
- type DeploymentsStartJFRPollerResponse
- type DeploymentsStartJFRResponse
- type DeploymentsStartPoller
- type DeploymentsStartPollerResponse
- type DeploymentsStartResponse
- type DeploymentsStopPoller
- type DeploymentsStopPollerResponse
- type DeploymentsStopResponse
- type DeploymentsUpdatePoller
- type DeploymentsUpdatePollerResponse
- type DeploymentsUpdateResponse
- type DeploymentsUpdateResult
- type DiagnosticParameters
- type Error
- type GitPatternRepository
- type ImageRegistryCredential
- type KeyVaultCertificateProperties
- type LoadedCertificate
- type LogFileURLResponse
- type LogSpecification
- type ManagedIdentityProperties
- type ManagedIdentityType
- type MetricDimension
- type MetricSpecification
- type MonitoringSettingProperties
- type MonitoringSettingResource
- type MonitoringSettingState
- type MonitoringSettingsBeginUpdatePatchOptions
- type MonitoringSettingsBeginUpdatePutOptions
- type MonitoringSettingsClient
- func (client *MonitoringSettingsClient) BeginUpdatePatch(ctx context.Context, resourceGroupName string, serviceName string, ...) (MonitoringSettingsUpdatePatchPollerResponse, error)
- func (client *MonitoringSettingsClient) BeginUpdatePut(ctx context.Context, resourceGroupName string, serviceName string, ...) (MonitoringSettingsUpdatePutPollerResponse, error)
- func (client *MonitoringSettingsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (MonitoringSettingsGetResponse, error)
- type MonitoringSettingsGetOptions
- type MonitoringSettingsGetResponse
- type MonitoringSettingsGetResult
- type MonitoringSettingsUpdatePatchPoller
- func (p *MonitoringSettingsUpdatePatchPoller) Done() bool
- func (p *MonitoringSettingsUpdatePatchPoller) FinalResponse(ctx context.Context) (MonitoringSettingsUpdatePatchResponse, error)
- func (p *MonitoringSettingsUpdatePatchPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *MonitoringSettingsUpdatePatchPoller) ResumeToken() (string, error)
- type MonitoringSettingsUpdatePatchPollerResponse
- type MonitoringSettingsUpdatePatchResponse
- type MonitoringSettingsUpdatePatchResult
- type MonitoringSettingsUpdatePutPoller
- func (p *MonitoringSettingsUpdatePutPoller) Done() bool
- func (p *MonitoringSettingsUpdatePutPoller) FinalResponse(ctx context.Context) (MonitoringSettingsUpdatePutResponse, error)
- func (p *MonitoringSettingsUpdatePutPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *MonitoringSettingsUpdatePutPoller) ResumeToken() (string, error)
- type MonitoringSettingsUpdatePutPollerResponse
- type MonitoringSettingsUpdatePutResponse
- type MonitoringSettingsUpdatePutResult
- type NameAvailability
- type NameAvailabilityParameters
- type NetworkProfile
- type NetworkProfileOutboundIPs
- type OperationDetail
- type OperationDisplay
- type OperationProperties
- type OperationsClient
- type OperationsListOptions
- type OperationsListPager
- type OperationsListResponse
- type OperationsListResult
- type PersistentDisk
- type PowerState
- type ProvisioningState
- type ProxyResource
- type RegenerateTestKeyRequestPayload
- type RequiredTraffic
- type Resource
- type ResourceRequests
- type ResourceSKU
- type ResourceSKUCapabilities
- type ResourceSKUCollection
- type ResourceSKULocationInfo
- type ResourceSKURestrictionInfo
- type ResourceSKURestrictions
- type ResourceSKURestrictionsReasonCode
- type ResourceSKURestrictionsType
- type ResourceSKUZoneDetails
- type ResourceUploadDefinition
- type RuntimeVersion
- type RuntimeVersionsClient
- type RuntimeVersionsListRuntimeVersionsOptions
- type RuntimeVersionsListRuntimeVersionsResponse
- type RuntimeVersionsListRuntimeVersionsResult
- type SKU
- type SKUCapacity
- type SKUScaleType
- type SKUsClient
- type SKUsListOptions
- type SKUsListPager
- type SKUsListResponse
- type SKUsListResult
- type ServiceResource
- type ServiceResourceList
- type ServiceSpecification
- type ServicesBeginCreateOrUpdateOptions
- type ServicesBeginDeleteOptions
- type ServicesBeginStartOptions
- type ServicesBeginStopOptions
- type ServicesBeginUpdateOptions
- type ServicesCheckNameAvailabilityOptions
- type ServicesCheckNameAvailabilityResponse
- type ServicesCheckNameAvailabilityResult
- type ServicesClient
- func (client *ServicesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesCreateOrUpdatePollerResponse, error)
- func (client *ServicesClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesDeletePollerResponse, error)
- func (client *ServicesClient) BeginStart(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesStartPollerResponse, error)
- func (client *ServicesClient) BeginStop(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesStopPollerResponse, error)
- func (client *ServicesClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesUpdatePollerResponse, error)
- func (client *ServicesClient) CheckNameAvailability(ctx context.Context, location string, ...) (ServicesCheckNameAvailabilityResponse, error)
- func (client *ServicesClient) DisableTestEndpoint(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesDisableTestEndpointResponse, error)
- func (client *ServicesClient) EnableTestEndpoint(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesEnableTestEndpointResponse, error)
- func (client *ServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesGetResponse, error)
- func (client *ServicesClient) List(resourceGroupName string, options *ServicesListOptions) *ServicesListPager
- func (client *ServicesClient) ListBySubscription(options *ServicesListBySubscriptionOptions) *ServicesListBySubscriptionPager
- func (client *ServicesClient) ListTestKeys(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesListTestKeysResponse, error)
- func (client *ServicesClient) RegenerateTestKey(ctx context.Context, resourceGroupName string, serviceName string, ...) (ServicesRegenerateTestKeyResponse, error)
- type ServicesCreateOrUpdatePoller
- func (p *ServicesCreateOrUpdatePoller) Done() bool
- func (p *ServicesCreateOrUpdatePoller) FinalResponse(ctx context.Context) (ServicesCreateOrUpdateResponse, error)
- func (p *ServicesCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ServicesCreateOrUpdatePoller) ResumeToken() (string, error)
- type ServicesCreateOrUpdatePollerResponse
- type ServicesCreateOrUpdateResponse
- type ServicesCreateOrUpdateResult
- type ServicesDeletePoller
- type ServicesDeletePollerResponse
- type ServicesDeleteResponse
- type ServicesDisableTestEndpointOptions
- type ServicesDisableTestEndpointResponse
- type ServicesEnableTestEndpointOptions
- type ServicesEnableTestEndpointResponse
- type ServicesEnableTestEndpointResult
- type ServicesGetOptions
- type ServicesGetResponse
- type ServicesGetResult
- type ServicesListBySubscriptionOptions
- type ServicesListBySubscriptionPager
- type ServicesListBySubscriptionResponse
- type ServicesListBySubscriptionResult
- type ServicesListOptions
- type ServicesListPager
- type ServicesListResponse
- type ServicesListResult
- type ServicesListTestKeysOptions
- type ServicesListTestKeysResponse
- type ServicesListTestKeysResult
- type ServicesRegenerateTestKeyOptions
- type ServicesRegenerateTestKeyResponse
- type ServicesRegenerateTestKeyResult
- type ServicesStartPoller
- type ServicesStartPollerResponse
- type ServicesStartResponse
- type ServicesStopPoller
- type ServicesStopPollerResponse
- type ServicesStopResponse
- type ServicesUpdatePoller
- type ServicesUpdatePollerResponse
- type ServicesUpdateResponse
- type ServicesUpdateResult
- type StorageAccount
- type StorageProperties
- type StoragePropertiesClassification
- type StoragePropertiesStorageType
- type StorageResource
- type StorageResourceCollection
- type StoragesBeginCreateOrUpdateOptions
- type StoragesBeginDeleteOptions
- type StoragesClient
- func (client *StoragesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, ...) (StoragesCreateOrUpdatePollerResponse, error)
- func (client *StoragesClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, ...) (StoragesDeletePollerResponse, error)
- func (client *StoragesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, ...) (StoragesGetResponse, error)
- func (client *StoragesClient) List(resourceGroupName string, serviceName string, options *StoragesListOptions) *StoragesListPager
- type StoragesCreateOrUpdatePoller
- func (p *StoragesCreateOrUpdatePoller) Done() bool
- func (p *StoragesCreateOrUpdatePoller) FinalResponse(ctx context.Context) (StoragesCreateOrUpdateResponse, error)
- func (p *StoragesCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *StoragesCreateOrUpdatePoller) ResumeToken() (string, error)
- type StoragesCreateOrUpdatePollerResponse
- type StoragesCreateOrUpdateResponse
- type StoragesCreateOrUpdateResult
- type StoragesDeletePoller
- type StoragesDeletePollerResponse
- type StoragesDeleteResponse
- type StoragesGetOptions
- type StoragesGetResponse
- type StoragesGetResult
- type StoragesListOptions
- type StoragesListPager
- type StoragesListResponse
- type StoragesListResult
- type SupportedRuntimePlatform
- type SupportedRuntimeValue
- type SupportedRuntimeVersion
- type SystemData
- type TemporaryDisk
- type TestKeyType
- type TestKeys
- type TrackedResource
- type TrafficDirection
- type UserSourceInfo
- type UserSourceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppResource ¶
type AppResource struct { ProxyResource // The Managed Identity type of the app resource Identity *ManagedIdentityProperties `json:"identity,omitempty"` // The GEO location of the application, always the same with its parent resource Location *string `json:"location,omitempty"` // Properties of the App resource Properties *AppResourceProperties `json:"properties,omitempty"` }
AppResource - App resource payload
func (AppResource) MarshalJSON ¶
func (a AppResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AppResource.
func (*AppResource) UnmarshalJSON ¶ added in v0.2.0
func (a *AppResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AppResource.
type AppResourceCollection ¶
type AppResourceCollection struct { // URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. NextLink *string `json:"nextLink,omitempty"` // Collection of App resources Value []*AppResource `json:"value,omitempty"` }
AppResourceCollection - Object that includes an array of App resources and a possible link for next set
func (AppResourceCollection) MarshalJSON ¶
func (a AppResourceCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AppResourceCollection.
type AppResourceProperties ¶
type AppResourceProperties struct { // Name of the active deployment of the App ActiveDeploymentName *string `json:"activeDeploymentName,omitempty"` // List of custom persistent disks CustomPersistentDisks []*CustomPersistentDiskResource `json:"customPersistentDisks,omitempty"` // Indicate if end to end TLS is enabled. EnableEndToEndTLS *bool `json:"enableEndToEndTLS,omitempty"` // Fully qualified dns Name. Fqdn *string `json:"fqdn,omitempty"` // Indicate if only https is allowed. HTTPSOnly *bool `json:"httpsOnly,omitempty"` // Collection of loaded certificates LoadedCertificates []*LoadedCertificate `json:"loadedCertificates,omitempty"` // Persistent disk settings PersistentDisk *PersistentDisk `json:"persistentDisk,omitempty"` // Indicates whether the App exposes public endpoint Public *bool `json:"public,omitempty"` // Temporary disk settings TemporaryDisk *TemporaryDisk `json:"temporaryDisk,omitempty"` // READ-ONLY; Date time when the resource is created CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` // READ-ONLY; Provisioning state of the App ProvisioningState *AppResourceProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; URL of the App URL *string `json:"url,omitempty" azure:"ro"` }
AppResourceProperties - App resource properties payload
func (AppResourceProperties) MarshalJSON ¶
func (a AppResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AppResourceProperties.
func (*AppResourceProperties) UnmarshalJSON ¶
func (a *AppResourceProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AppResourceProperties.
type AppResourceProvisioningState ¶
type AppResourceProvisioningState string
AppResourceProvisioningState - Provisioning state of the App
const ( AppResourceProvisioningStateCreating AppResourceProvisioningState = "Creating" AppResourceProvisioningStateFailed AppResourceProvisioningState = "Failed" AppResourceProvisioningStateSucceeded AppResourceProvisioningState = "Succeeded" AppResourceProvisioningStateUpdating AppResourceProvisioningState = "Updating" )
func PossibleAppResourceProvisioningStateValues ¶
func PossibleAppResourceProvisioningStateValues() []AppResourceProvisioningState
PossibleAppResourceProvisioningStateValues returns the possible values for the AppResourceProvisioningState const type.
func (AppResourceProvisioningState) ToPtr ¶
func (c AppResourceProvisioningState) ToPtr() *AppResourceProvisioningState
ToPtr returns a *AppResourceProvisioningState pointing to the current value.
type ApplicationInsightsAgentVersions ¶
type ApplicationInsightsAgentVersions struct { // READ-ONLY; Indicates the version of application insight java agent Java *string `json:"java,omitempty" azure:"ro"` }
ApplicationInsightsAgentVersions - Application Insights agent versions properties payload
type AppsBeginCreateOrUpdateOptions ¶
type AppsBeginCreateOrUpdateOptions struct { }
AppsBeginCreateOrUpdateOptions contains the optional parameters for the Apps.BeginCreateOrUpdate method.
type AppsBeginDeleteOptions ¶
type AppsBeginDeleteOptions struct { }
AppsBeginDeleteOptions contains the optional parameters for the Apps.BeginDelete method.
type AppsBeginUpdateOptions ¶
type AppsBeginUpdateOptions struct { }
AppsBeginUpdateOptions contains the optional parameters for the Apps.BeginUpdate method.
type AppsClient ¶
type AppsClient struct {
// contains filtered or unexported fields
}
AppsClient contains the methods for the Apps group. Don't use this type directly, use NewAppsClient() instead.
func NewAppsClient ¶
func NewAppsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *AppsClient
NewAppsClient creates a new instance of AppsClient with the specified values.
func (*AppsClient) BeginCreateOrUpdate ¶
func (client *AppsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, appResource AppResource, options *AppsBeginCreateOrUpdateOptions) (AppsCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Create a new App or update an exiting App. If the operation fails it returns the *CloudError error type.
func (*AppsClient) BeginDelete ¶
func (client *AppsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, appName string, options *AppsBeginDeleteOptions) (AppsDeletePollerResponse, error)
BeginDelete - Operation to delete an App. If the operation fails it returns the *CloudError error type.
func (*AppsClient) BeginUpdate ¶
func (client *AppsClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, appResource AppResource, options *AppsBeginUpdateOptions) (AppsUpdatePollerResponse, error)
BeginUpdate - Operation to update an exiting App. If the operation fails it returns the *CloudError error type.
func (*AppsClient) Get ¶
func (client *AppsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, appName string, options *AppsGetOptions) (AppsGetResponse, error)
Get - Get an App and its properties. If the operation fails it returns the *CloudError error type.
func (*AppsClient) GetResourceUploadURL ¶
func (client *AppsClient) GetResourceUploadURL(ctx context.Context, resourceGroupName string, serviceName string, appName string, options *AppsGetResourceUploadURLOptions) (AppsGetResourceUploadURLResponse, error)
GetResourceUploadURL - Get an resource upload URL for an App, which may be artifacts or source archive. If the operation fails it returns the *CloudError error type.
func (*AppsClient) List ¶
func (client *AppsClient) List(resourceGroupName string, serviceName string, options *AppsListOptions) *AppsListPager
List - Handles requests to list all resources in a Service. If the operation fails it returns the *CloudError error type.
func (*AppsClient) ValidateDomain ¶
func (client *AppsClient) ValidateDomain(ctx context.Context, resourceGroupName string, serviceName string, appName string, validatePayload CustomDomainValidatePayload, options *AppsValidateDomainOptions) (AppsValidateDomainResponse, error)
ValidateDomain - Check the resource name is valid as well as not in use. If the operation fails it returns the *CloudError error type.
type AppsCreateOrUpdatePoller ¶
type AppsCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
AppsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*AppsCreateOrUpdatePoller) Done ¶
func (p *AppsCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AppsCreateOrUpdatePoller) FinalResponse ¶
func (p *AppsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (AppsCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AppsCreateOrUpdateResponse will be returned.
func (*AppsCreateOrUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AppsCreateOrUpdatePoller) ResumeToken ¶
func (p *AppsCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AppsCreateOrUpdatePollerResponse ¶
type AppsCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *AppsCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsCreateOrUpdatePollerResponse contains the response from method Apps.CreateOrUpdate.
func (AppsCreateOrUpdatePollerResponse) PollUntilDone ¶
func (l AppsCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AppsCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AppsCreateOrUpdatePollerResponse) Resume ¶
func (l *AppsCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *AppsClient, token string) error
Resume rehydrates a AppsCreateOrUpdatePollerResponse from the provided client and resume token.
type AppsCreateOrUpdateResponse ¶
type AppsCreateOrUpdateResponse struct { AppsCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsCreateOrUpdateResponse contains the response from method Apps.CreateOrUpdate.
type AppsCreateOrUpdateResult ¶
type AppsCreateOrUpdateResult struct {
AppResource
}
AppsCreateOrUpdateResult contains the result from method Apps.CreateOrUpdate.
type AppsDeletePoller ¶
type AppsDeletePoller struct {
// contains filtered or unexported fields
}
AppsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*AppsDeletePoller) Done ¶
func (p *AppsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AppsDeletePoller) FinalResponse ¶
func (p *AppsDeletePoller) FinalResponse(ctx context.Context) (AppsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AppsDeleteResponse will be returned.
func (*AppsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AppsDeletePoller) ResumeToken ¶
func (p *AppsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AppsDeletePollerResponse ¶
type AppsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *AppsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsDeletePollerResponse contains the response from method Apps.Delete.
func (AppsDeletePollerResponse) PollUntilDone ¶
func (l AppsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AppsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AppsDeletePollerResponse) Resume ¶
func (l *AppsDeletePollerResponse) Resume(ctx context.Context, client *AppsClient, token string) error
Resume rehydrates a AppsDeletePollerResponse from the provided client and resume token.
type AppsDeleteResponse ¶
type AppsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsDeleteResponse contains the response from method Apps.Delete.
type AppsGetOptions ¶
type AppsGetOptions struct { // Indicates whether sync status SyncStatus *string }
AppsGetOptions contains the optional parameters for the Apps.Get method.
type AppsGetResourceUploadURLOptions ¶
type AppsGetResourceUploadURLOptions struct { }
AppsGetResourceUploadURLOptions contains the optional parameters for the Apps.GetResourceUploadURL method.
type AppsGetResourceUploadURLResponse ¶
type AppsGetResourceUploadURLResponse struct { AppsGetResourceUploadURLResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsGetResourceUploadURLResponse contains the response from method Apps.GetResourceUploadURL.
type AppsGetResourceUploadURLResult ¶
type AppsGetResourceUploadURLResult struct {
ResourceUploadDefinition
}
AppsGetResourceUploadURLResult contains the result from method Apps.GetResourceUploadURL.
type AppsGetResponse ¶
type AppsGetResponse struct { AppsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsGetResponse contains the response from method Apps.Get.
type AppsGetResult ¶
type AppsGetResult struct {
AppResource
}
AppsGetResult contains the result from method Apps.Get.
type AppsListOptions ¶
type AppsListOptions struct { }
AppsListOptions contains the optional parameters for the Apps.List method.
type AppsListPager ¶
type AppsListPager struct {
// contains filtered or unexported fields
}
AppsListPager provides operations for iterating over paged responses.
func (*AppsListPager) Err ¶
func (p *AppsListPager) Err() error
Err returns the last error encountered while paging.
func (*AppsListPager) NextPage ¶
func (p *AppsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AppsListPager) PageResponse ¶
func (p *AppsListPager) PageResponse() AppsListResponse
PageResponse returns the current AppsListResponse page.
type AppsListResponse ¶
type AppsListResponse struct { AppsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsListResponse contains the response from method Apps.List.
type AppsListResult ¶
type AppsListResult struct {
AppResourceCollection
}
AppsListResult contains the result from method Apps.List.
type AppsUpdatePoller ¶
type AppsUpdatePoller struct {
// contains filtered or unexported fields
}
AppsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*AppsUpdatePoller) Done ¶
func (p *AppsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AppsUpdatePoller) FinalResponse ¶
func (p *AppsUpdatePoller) FinalResponse(ctx context.Context) (AppsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AppsUpdateResponse will be returned.
func (*AppsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AppsUpdatePoller) ResumeToken ¶
func (p *AppsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AppsUpdatePollerResponse ¶
type AppsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *AppsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsUpdatePollerResponse contains the response from method Apps.Update.
func (AppsUpdatePollerResponse) PollUntilDone ¶
func (l AppsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AppsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*AppsUpdatePollerResponse) Resume ¶
func (l *AppsUpdatePollerResponse) Resume(ctx context.Context, client *AppsClient, token string) error
Resume rehydrates a AppsUpdatePollerResponse from the provided client and resume token.
type AppsUpdateResponse ¶
type AppsUpdateResponse struct { AppsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsUpdateResponse contains the response from method Apps.Update.
type AppsUpdateResult ¶
type AppsUpdateResult struct {
AppResource
}
AppsUpdateResult contains the result from method Apps.Update.
type AppsValidateDomainOptions ¶
type AppsValidateDomainOptions struct { }
AppsValidateDomainOptions contains the optional parameters for the Apps.ValidateDomain method.
type AppsValidateDomainResponse ¶
type AppsValidateDomainResponse struct { AppsValidateDomainResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AppsValidateDomainResponse contains the response from method Apps.ValidateDomain.
type AppsValidateDomainResult ¶
type AppsValidateDomainResult struct {
CustomDomainValidateResult
}
AppsValidateDomainResult contains the result from method Apps.ValidateDomain.
type AvailableOperations ¶
type AvailableOperations struct { // URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. NextLink *string `json:"nextLink,omitempty"` // Collection of available operation details Value []*OperationDetail `json:"value,omitempty"` }
AvailableOperations - Available operations of the service
func (AvailableOperations) MarshalJSON ¶
func (a AvailableOperations) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AvailableOperations.
type AvailableRuntimeVersions ¶
type AvailableRuntimeVersions struct { // READ-ONLY; A list of all supported runtime versions. Value []*SupportedRuntimeVersion `json:"value,omitempty" azure:"ro"` }
func (AvailableRuntimeVersions) MarshalJSON ¶
func (a AvailableRuntimeVersions) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AvailableRuntimeVersions.
type AzureFileVolume ¶ added in v0.2.0
type AzureFileVolume struct { CustomPersistentDiskProperties ShareName *string `json:"shareName,omitempty"` }
AzureFileVolume - The properties of the Azure File volume. Azure File shares are mounted as volumes.
func (AzureFileVolume) MarshalJSON ¶ added in v0.2.0
func (a AzureFileVolume) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AzureFileVolume.
func (*AzureFileVolume) UnmarshalJSON ¶ added in v0.2.0
func (a *AzureFileVolume) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type AzureFileVolume.
type BindingResource ¶
type BindingResource struct { ProxyResource // Properties of the Binding resource Properties *BindingResourceProperties `json:"properties,omitempty"` }
BindingResource - Binding resource payload
func (BindingResource) MarshalJSON ¶
func (b BindingResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type BindingResource.
func (*BindingResource) UnmarshalJSON ¶ added in v0.2.0
func (b *BindingResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type BindingResource.
type BindingResourceCollection ¶
type BindingResourceCollection struct { // URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. NextLink *string `json:"nextLink,omitempty"` // Collection of Binding resources Value []*BindingResource `json:"value,omitempty"` }
BindingResourceCollection - Object that includes an array of Binding resources and a possible link for next set
func (BindingResourceCollection) MarshalJSON ¶
func (b BindingResourceCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type BindingResourceCollection.
type BindingResourceProperties ¶
type BindingResourceProperties struct { // Binding parameters of the Binding resource BindingParameters map[string]map[string]interface{} `json:"bindingParameters,omitempty"` // The key of the bound resource Key *string `json:"key,omitempty"` // The Azure resource id of the bound resource ResourceID *string `json:"resourceId,omitempty"` // READ-ONLY; Creation time of the Binding resource CreatedAt *string `json:"createdAt,omitempty" azure:"ro"` // READ-ONLY; The generated Spring Boot property file for this binding. The secret will be deducted. GeneratedProperties *string `json:"generatedProperties,omitempty" azure:"ro"` // READ-ONLY; The name of the bound resource ResourceName *string `json:"resourceName,omitempty" azure:"ro"` // READ-ONLY; The standard Azure resource type of the bound resource ResourceType *string `json:"resourceType,omitempty" azure:"ro"` // READ-ONLY; Update time of the Binding resource UpdatedAt *string `json:"updatedAt,omitempty" azure:"ro"` }
BindingResourceProperties - Binding resource properties payload
func (BindingResourceProperties) MarshalJSON ¶
func (b BindingResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type BindingResourceProperties.
type BindingsBeginCreateOrUpdateOptions ¶
type BindingsBeginCreateOrUpdateOptions struct { }
BindingsBeginCreateOrUpdateOptions contains the optional parameters for the Bindings.BeginCreateOrUpdate method.
type BindingsBeginDeleteOptions ¶
type BindingsBeginDeleteOptions struct { }
BindingsBeginDeleteOptions contains the optional parameters for the Bindings.BeginDelete method.
type BindingsBeginUpdateOptions ¶
type BindingsBeginUpdateOptions struct { }
BindingsBeginUpdateOptions contains the optional parameters for the Bindings.BeginUpdate method.
type BindingsClient ¶
type BindingsClient struct {
// contains filtered or unexported fields
}
BindingsClient contains the methods for the Bindings group. Don't use this type directly, use NewBindingsClient() instead.
func NewBindingsClient ¶
func NewBindingsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *BindingsClient
NewBindingsClient creates a new instance of BindingsClient with the specified values.
func (*BindingsClient) BeginCreateOrUpdate ¶
func (client *BindingsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, bindingResource BindingResource, options *BindingsBeginCreateOrUpdateOptions) (BindingsCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Create a new Binding or update an exiting Binding. If the operation fails it returns the *CloudError error type.
func (*BindingsClient) BeginDelete ¶
func (client *BindingsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, options *BindingsBeginDeleteOptions) (BindingsDeletePollerResponse, error)
BeginDelete - Operation to delete a Binding. If the operation fails it returns the *CloudError error type.
func (*BindingsClient) BeginUpdate ¶
func (client *BindingsClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, bindingResource BindingResource, options *BindingsBeginUpdateOptions) (BindingsUpdatePollerResponse, error)
BeginUpdate - Operation to update an exiting Binding. If the operation fails it returns the *CloudError error type.
func (*BindingsClient) Get ¶
func (client *BindingsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, appName string, bindingName string, options *BindingsGetOptions) (BindingsGetResponse, error)
Get - Get a Binding and its properties. If the operation fails it returns the *CloudError error type.
func (*BindingsClient) List ¶
func (client *BindingsClient) List(resourceGroupName string, serviceName string, appName string, options *BindingsListOptions) *BindingsListPager
List - Handles requests to list all resources in an App. If the operation fails it returns the *CloudError error type.
type BindingsCreateOrUpdatePoller ¶
type BindingsCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
BindingsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*BindingsCreateOrUpdatePoller) Done ¶
func (p *BindingsCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*BindingsCreateOrUpdatePoller) FinalResponse ¶
func (p *BindingsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (BindingsCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final BindingsCreateOrUpdateResponse will be returned.
func (*BindingsCreateOrUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*BindingsCreateOrUpdatePoller) ResumeToken ¶
func (p *BindingsCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type BindingsCreateOrUpdatePollerResponse ¶
type BindingsCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *BindingsCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
BindingsCreateOrUpdatePollerResponse contains the response from method Bindings.CreateOrUpdate.
func (BindingsCreateOrUpdatePollerResponse) PollUntilDone ¶
func (l BindingsCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (BindingsCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*BindingsCreateOrUpdatePollerResponse) Resume ¶
func (l *BindingsCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *BindingsClient, token string) error
Resume rehydrates a BindingsCreateOrUpdatePollerResponse from the provided client and resume token.
type BindingsCreateOrUpdateResponse ¶
type BindingsCreateOrUpdateResponse struct { BindingsCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
BindingsCreateOrUpdateResponse contains the response from method Bindings.CreateOrUpdate.
type BindingsCreateOrUpdateResult ¶
type BindingsCreateOrUpdateResult struct {
BindingResource
}
BindingsCreateOrUpdateResult contains the result from method Bindings.CreateOrUpdate.
type BindingsDeletePoller ¶
type BindingsDeletePoller struct {
// contains filtered or unexported fields
}
BindingsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*BindingsDeletePoller) Done ¶
func (p *BindingsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*BindingsDeletePoller) FinalResponse ¶
func (p *BindingsDeletePoller) FinalResponse(ctx context.Context) (BindingsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final BindingsDeleteResponse will be returned.
func (*BindingsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*BindingsDeletePoller) ResumeToken ¶
func (p *BindingsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type BindingsDeletePollerResponse ¶
type BindingsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *BindingsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
BindingsDeletePollerResponse contains the response from method Bindings.Delete.
func (BindingsDeletePollerResponse) PollUntilDone ¶
func (l BindingsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (BindingsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*BindingsDeletePollerResponse) Resume ¶
func (l *BindingsDeletePollerResponse) Resume(ctx context.Context, client *BindingsClient, token string) error
Resume rehydrates a BindingsDeletePollerResponse from the provided client and resume token.
type BindingsDeleteResponse ¶
type BindingsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
BindingsDeleteResponse contains the response from method Bindings.Delete.
type BindingsGetOptions ¶
type BindingsGetOptions struct { }
BindingsGetOptions contains the optional parameters for the Bindings.Get method.
type BindingsGetResponse ¶
type BindingsGetResponse struct { BindingsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
BindingsGetResponse contains the response from method Bindings.Get.
type BindingsGetResult ¶
type BindingsGetResult struct {
BindingResource
}
BindingsGetResult contains the result from method Bindings.Get.
type BindingsListOptions ¶
type BindingsListOptions struct { }
BindingsListOptions contains the optional parameters for the Bindings.List method.
type BindingsListPager ¶
type BindingsListPager struct {
// contains filtered or unexported fields
}
BindingsListPager provides operations for iterating over paged responses.
func (*BindingsListPager) Err ¶
func (p *BindingsListPager) Err() error
Err returns the last error encountered while paging.
func (*BindingsListPager) NextPage ¶
func (p *BindingsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*BindingsListPager) PageResponse ¶
func (p *BindingsListPager) PageResponse() BindingsListResponse
PageResponse returns the current BindingsListResponse page.
type BindingsListResponse ¶
type BindingsListResponse struct { BindingsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
BindingsListResponse contains the response from method Bindings.List.
type BindingsListResult ¶
type BindingsListResult struct {
BindingResourceCollection
}
BindingsListResult contains the result from method Bindings.List.
type BindingsUpdatePoller ¶
type BindingsUpdatePoller struct {
// contains filtered or unexported fields
}
BindingsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*BindingsUpdatePoller) Done ¶
func (p *BindingsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*BindingsUpdatePoller) FinalResponse ¶
func (p *BindingsUpdatePoller) FinalResponse(ctx context.Context) (BindingsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final BindingsUpdateResponse will be returned.
func (*BindingsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*BindingsUpdatePoller) ResumeToken ¶
func (p *BindingsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type BindingsUpdatePollerResponse ¶
type BindingsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *BindingsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
BindingsUpdatePollerResponse contains the response from method Bindings.Update.
func (BindingsUpdatePollerResponse) PollUntilDone ¶
func (l BindingsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (BindingsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*BindingsUpdatePollerResponse) Resume ¶
func (l *BindingsUpdatePollerResponse) Resume(ctx context.Context, client *BindingsClient, token string) error
Resume rehydrates a BindingsUpdatePollerResponse from the provided client and resume token.
type BindingsUpdateResponse ¶
type BindingsUpdateResponse struct { BindingsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
BindingsUpdateResponse contains the response from method Bindings.Update.
type BindingsUpdateResult ¶
type BindingsUpdateResult struct {
BindingResource
}
BindingsUpdateResult contains the result from method Bindings.Update.
type CertificateProperties ¶
type CertificateProperties struct { // REQUIRED; The type of the certificate source. Type *string `json:"type,omitempty"` // READ-ONLY; The activate date of certificate. ActivateDate *string `json:"activateDate,omitempty" azure:"ro"` // READ-ONLY; The domain list of certificate. DNSNames []*string `json:"dnsNames,omitempty" azure:"ro"` // READ-ONLY; The expiration date of certificate. ExpirationDate *string `json:"expirationDate,omitempty" azure:"ro"` // READ-ONLY; The issue date of certificate. IssuedDate *string `json:"issuedDate,omitempty" azure:"ro"` // READ-ONLY; The issuer of certificate. Issuer *string `json:"issuer,omitempty" azure:"ro"` // READ-ONLY; The subject name of certificate. SubjectName *string `json:"subjectName,omitempty" azure:"ro"` // READ-ONLY; The thumbprint of certificate. Thumbprint *string `json:"thumbprint,omitempty" azure:"ro"` }
CertificateProperties - Certificate resource payload.
func (*CertificateProperties) GetCertificateProperties ¶ added in v0.2.0
func (c *CertificateProperties) GetCertificateProperties() *CertificateProperties
GetCertificateProperties implements the CertificatePropertiesClassification interface for type CertificateProperties.
func (*CertificateProperties) UnmarshalJSON ¶ added in v0.2.0
func (c *CertificateProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CertificateProperties.
type CertificatePropertiesClassification ¶ added in v0.2.0
type CertificatePropertiesClassification interface { // GetCertificateProperties returns the CertificateProperties content of the underlying type. GetCertificateProperties() *CertificateProperties }
CertificatePropertiesClassification provides polymorphic access to related types. Call the interface's GetCertificateProperties() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *CertificateProperties, *ContentCertificateProperties, *KeyVaultCertificateProperties
type CertificateResource ¶
type CertificateResource struct { ProxyResource // Properties of the certificate resource payload. Properties CertificatePropertiesClassification `json:"properties,omitempty"` }
CertificateResource - Certificate resource payload.
func (CertificateResource) MarshalJSON ¶
func (c CertificateResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CertificateResource.
func (*CertificateResource) UnmarshalJSON ¶ added in v0.2.0
func (c *CertificateResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CertificateResource.
type CertificateResourceCollection ¶
type CertificateResourceCollection struct { // The link to next page of certificate list. NextLink *string `json:"nextLink,omitempty"` // The certificate resources list. Value []*CertificateResource `json:"value,omitempty"` }
CertificateResourceCollection - Collection compose of certificate resources list and a possible link for next page.
func (CertificateResourceCollection) MarshalJSON ¶
func (c CertificateResourceCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CertificateResourceCollection.
type CertificatesBeginCreateOrUpdateOptions ¶
type CertificatesBeginCreateOrUpdateOptions struct { }
CertificatesBeginCreateOrUpdateOptions contains the optional parameters for the Certificates.BeginCreateOrUpdate method.
type CertificatesBeginDeleteOptions ¶
type CertificatesBeginDeleteOptions struct { }
CertificatesBeginDeleteOptions contains the optional parameters for the Certificates.BeginDelete method.
type CertificatesClient ¶
type CertificatesClient struct {
// contains filtered or unexported fields
}
CertificatesClient contains the methods for the Certificates group. Don't use this type directly, use NewCertificatesClient() instead.
func NewCertificatesClient ¶
func NewCertificatesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CertificatesClient
NewCertificatesClient creates a new instance of CertificatesClient with the specified values.
func (*CertificatesClient) BeginCreateOrUpdate ¶
func (client *CertificatesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, certificateName string, certificateResource CertificateResource, options *CertificatesBeginCreateOrUpdateOptions) (CertificatesCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Create or update certificate resource. If the operation fails it returns the *CloudError error type.
func (*CertificatesClient) BeginDelete ¶
func (client *CertificatesClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, certificateName string, options *CertificatesBeginDeleteOptions) (CertificatesDeletePollerResponse, error)
BeginDelete - Delete the certificate resource. If the operation fails it returns the *CloudError error type.
func (*CertificatesClient) Get ¶
func (client *CertificatesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, certificateName string, options *CertificatesGetOptions) (CertificatesGetResponse, error)
Get - Get the certificate resource. If the operation fails it returns the *CloudError error type.
func (*CertificatesClient) List ¶
func (client *CertificatesClient) List(resourceGroupName string, serviceName string, options *CertificatesListOptions) *CertificatesListPager
List - List all the certificates of one user. If the operation fails it returns the *CloudError error type.
type CertificatesCreateOrUpdatePoller ¶
type CertificatesCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
CertificatesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*CertificatesCreateOrUpdatePoller) Done ¶
func (p *CertificatesCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CertificatesCreateOrUpdatePoller) FinalResponse ¶
func (p *CertificatesCreateOrUpdatePoller) FinalResponse(ctx context.Context) (CertificatesCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CertificatesCreateOrUpdateResponse will be returned.
func (*CertificatesCreateOrUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CertificatesCreateOrUpdatePoller) ResumeToken ¶
func (p *CertificatesCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CertificatesCreateOrUpdatePollerResponse ¶
type CertificatesCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *CertificatesCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CertificatesCreateOrUpdatePollerResponse contains the response from method Certificates.CreateOrUpdate.
func (CertificatesCreateOrUpdatePollerResponse) PollUntilDone ¶
func (l CertificatesCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CertificatesCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CertificatesCreateOrUpdatePollerResponse) Resume ¶
func (l *CertificatesCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *CertificatesClient, token string) error
Resume rehydrates a CertificatesCreateOrUpdatePollerResponse from the provided client and resume token.
type CertificatesCreateOrUpdateResponse ¶
type CertificatesCreateOrUpdateResponse struct { CertificatesCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CertificatesCreateOrUpdateResponse contains the response from method Certificates.CreateOrUpdate.
type CertificatesCreateOrUpdateResult ¶
type CertificatesCreateOrUpdateResult struct {
CertificateResource
}
CertificatesCreateOrUpdateResult contains the result from method Certificates.CreateOrUpdate.
type CertificatesDeletePoller ¶
type CertificatesDeletePoller struct {
// contains filtered or unexported fields
}
CertificatesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*CertificatesDeletePoller) Done ¶
func (p *CertificatesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CertificatesDeletePoller) FinalResponse ¶
func (p *CertificatesDeletePoller) FinalResponse(ctx context.Context) (CertificatesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CertificatesDeleteResponse will be returned.
func (*CertificatesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CertificatesDeletePoller) ResumeToken ¶
func (p *CertificatesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CertificatesDeletePollerResponse ¶
type CertificatesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *CertificatesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CertificatesDeletePollerResponse contains the response from method Certificates.Delete.
func (CertificatesDeletePollerResponse) PollUntilDone ¶
func (l CertificatesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CertificatesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CertificatesDeletePollerResponse) Resume ¶
func (l *CertificatesDeletePollerResponse) Resume(ctx context.Context, client *CertificatesClient, token string) error
Resume rehydrates a CertificatesDeletePollerResponse from the provided client and resume token.
type CertificatesDeleteResponse ¶
type CertificatesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CertificatesDeleteResponse contains the response from method Certificates.Delete.
type CertificatesGetOptions ¶
type CertificatesGetOptions struct { }
CertificatesGetOptions contains the optional parameters for the Certificates.Get method.
type CertificatesGetResponse ¶
type CertificatesGetResponse struct { CertificatesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CertificatesGetResponse contains the response from method Certificates.Get.
type CertificatesGetResult ¶
type CertificatesGetResult struct {
CertificateResource
}
CertificatesGetResult contains the result from method Certificates.Get.
type CertificatesListOptions ¶
type CertificatesListOptions struct { }
CertificatesListOptions contains the optional parameters for the Certificates.List method.
type CertificatesListPager ¶
type CertificatesListPager struct {
// contains filtered or unexported fields
}
CertificatesListPager provides operations for iterating over paged responses.
func (*CertificatesListPager) Err ¶
func (p *CertificatesListPager) Err() error
Err returns the last error encountered while paging.
func (*CertificatesListPager) NextPage ¶
func (p *CertificatesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*CertificatesListPager) PageResponse ¶
func (p *CertificatesListPager) PageResponse() CertificatesListResponse
PageResponse returns the current CertificatesListResponse page.
type CertificatesListResponse ¶
type CertificatesListResponse struct { CertificatesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CertificatesListResponse contains the response from method Certificates.List.
type CertificatesListResult ¶
type CertificatesListResult struct {
CertificateResourceCollection
}
CertificatesListResult contains the result from method Certificates.List.
type CloudError ¶
type CloudError struct { // An error response from the service. InnerError *CloudErrorBody `json:"error,omitempty"` // contains filtered or unexported fields }
CloudError - An error response from the service. Implements the error and azcore.HTTPResponse interfaces.
func (CloudError) Error ¶
func (e CloudError) Error() string
Error implements the error interface for type CloudError. The contents of the error text are not contractual and subject to change.
type CloudErrorBody ¶
type CloudErrorBody struct { // An identifier for the error. Codes are invariant and are intended to be consumed programmatically. Code *string `json:"code,omitempty"` // A list of additional details about the error. Details []*CloudErrorBody `json:"details,omitempty"` // A message describing the error, intended to be suitable for display in a user interface. Message *string `json:"message,omitempty"` // The target of the particular error. For example, the name of the property in error. Target *string `json:"target,omitempty"` }
CloudErrorBody - An error response from the service.
func (CloudErrorBody) MarshalJSON ¶
func (c CloudErrorBody) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CloudErrorBody.
type ClusterResourceProperties ¶
type ClusterResourceProperties struct { // Network profile of the Service NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"` // READ-ONLY; Power state of the Service PowerState *PowerState `json:"powerState,omitempty" azure:"ro"` // READ-ONLY; Provisioning state of the Service ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; ServiceInstanceEntity GUID which uniquely identifies a created resource ServiceID *string `json:"serviceId,omitempty" azure:"ro"` // READ-ONLY; Version of the Service Version *int32 `json:"version,omitempty" azure:"ro"` }
ClusterResourceProperties - Service properties payload
type ConfigServerGitProperty ¶
type ConfigServerGitProperty struct { // REQUIRED; URI of the repository URI *string `json:"uri,omitempty"` // Public sshKey of git repository. HostKey *string `json:"hostKey,omitempty"` // SshKey algorithm of git repository. HostKeyAlgorithm *string `json:"hostKeyAlgorithm,omitempty"` // Label of the repository Label *string `json:"label,omitempty"` // Password of git repository basic auth. Password *string `json:"password,omitempty"` // Private sshKey algorithm of git repository. PrivateKey *string `json:"privateKey,omitempty"` // Repositories of git. Repositories []*GitPatternRepository `json:"repositories,omitempty"` // Searching path of the repository SearchPaths []*string `json:"searchPaths,omitempty"` // Strict host key checking or not. StrictHostKeyChecking *bool `json:"strictHostKeyChecking,omitempty"` // Username of git repository basic auth. Username *string `json:"username,omitempty"` }
ConfigServerGitProperty - Property of git.
func (ConfigServerGitProperty) MarshalJSON ¶
func (c ConfigServerGitProperty) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConfigServerGitProperty.
type ConfigServerProperties ¶
type ConfigServerProperties struct { // Settings of config server. ConfigServer *ConfigServerSettings `json:"configServer,omitempty"` // Error when apply config server settings. Error *Error `json:"error,omitempty"` // READ-ONLY; State of the config server. ProvisioningState *ConfigServerState `json:"provisioningState,omitempty" azure:"ro"` }
ConfigServerProperties - Config server git properties payload
type ConfigServerResource ¶
type ConfigServerResource struct { ProxyResource // Properties of the Config Server resource Properties *ConfigServerProperties `json:"properties,omitempty"` }
ConfigServerResource - Config Server resource
func (ConfigServerResource) MarshalJSON ¶
func (c ConfigServerResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConfigServerResource.
func (*ConfigServerResource) UnmarshalJSON ¶ added in v0.2.0
func (c *ConfigServerResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ConfigServerResource.
type ConfigServerSettings ¶
type ConfigServerSettings struct { // Property of git environment. GitProperty *ConfigServerGitProperty `json:"gitProperty,omitempty"` }
ConfigServerSettings - The settings of config server.
type ConfigServerSettingsErrorRecord ¶
type ConfigServerSettingsErrorRecord struct { // The detail error messages of the record Messages []*string `json:"messages,omitempty"` // The name of the config server settings error record Name *string `json:"name,omitempty"` // The uri of the config server settings error record URI *string `json:"uri,omitempty"` }
ConfigServerSettingsErrorRecord - Error record of the config server settings
func (ConfigServerSettingsErrorRecord) MarshalJSON ¶
func (c ConfigServerSettingsErrorRecord) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConfigServerSettingsErrorRecord.
type ConfigServerSettingsValidateResult ¶
type ConfigServerSettingsValidateResult struct { // The detail validation results Details []*ConfigServerSettingsErrorRecord `json:"details,omitempty"` // Indicate if the config server settings are valid IsValid *bool `json:"isValid,omitempty"` }
ConfigServerSettingsValidateResult - Validation result for config server settings
func (ConfigServerSettingsValidateResult) MarshalJSON ¶
func (c ConfigServerSettingsValidateResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConfigServerSettingsValidateResult.
type ConfigServerState ¶
type ConfigServerState string
ConfigServerState - State of the config server.
const ( ConfigServerStateDeleted ConfigServerState = "Deleted" ConfigServerStateFailed ConfigServerState = "Failed" ConfigServerStateNotAvailable ConfigServerState = "NotAvailable" ConfigServerStateSucceeded ConfigServerState = "Succeeded" ConfigServerStateUpdating ConfigServerState = "Updating" )
func PossibleConfigServerStateValues ¶
func PossibleConfigServerStateValues() []ConfigServerState
PossibleConfigServerStateValues returns the possible values for the ConfigServerState const type.
func (ConfigServerState) ToPtr ¶
func (c ConfigServerState) ToPtr() *ConfigServerState
ToPtr returns a *ConfigServerState pointing to the current value.
type ConfigServersBeginUpdatePatchOptions ¶
type ConfigServersBeginUpdatePatchOptions struct { }
ConfigServersBeginUpdatePatchOptions contains the optional parameters for the ConfigServers.BeginUpdatePatch method.
type ConfigServersBeginUpdatePutOptions ¶
type ConfigServersBeginUpdatePutOptions struct { }
ConfigServersBeginUpdatePutOptions contains the optional parameters for the ConfigServers.BeginUpdatePut method.
type ConfigServersBeginValidateOptions ¶
type ConfigServersBeginValidateOptions struct { }
ConfigServersBeginValidateOptions contains the optional parameters for the ConfigServers.BeginValidate method.
type ConfigServersClient ¶
type ConfigServersClient struct {
// contains filtered or unexported fields
}
ConfigServersClient contains the methods for the ConfigServers group. Don't use this type directly, use NewConfigServersClient() instead.
func NewConfigServersClient ¶
func NewConfigServersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *ConfigServersClient
NewConfigServersClient creates a new instance of ConfigServersClient with the specified values.
func (*ConfigServersClient) BeginUpdatePatch ¶
func (client *ConfigServersClient) BeginUpdatePatch(ctx context.Context, resourceGroupName string, serviceName string, configServerResource ConfigServerResource, options *ConfigServersBeginUpdatePatchOptions) (ConfigServersUpdatePatchPollerResponse, error)
BeginUpdatePatch - Update the config server. If the operation fails it returns the *CloudError error type.
func (*ConfigServersClient) BeginUpdatePut ¶
func (client *ConfigServersClient) BeginUpdatePut(ctx context.Context, resourceGroupName string, serviceName string, configServerResource ConfigServerResource, options *ConfigServersBeginUpdatePutOptions) (ConfigServersUpdatePutPollerResponse, error)
BeginUpdatePut - Update the config server. If the operation fails it returns the *CloudError error type.
func (*ConfigServersClient) BeginValidate ¶
func (client *ConfigServersClient) BeginValidate(ctx context.Context, resourceGroupName string, serviceName string, configServerSettings ConfigServerSettings, options *ConfigServersBeginValidateOptions) (ConfigServersValidatePollerResponse, error)
BeginValidate - Check if the config server settings are valid. If the operation fails it returns the *CloudError error type.
func (*ConfigServersClient) Get ¶
func (client *ConfigServersClient) Get(ctx context.Context, resourceGroupName string, serviceName string, options *ConfigServersGetOptions) (ConfigServersGetResponse, error)
Get - Get the config server and its properties. If the operation fails it returns the *CloudError error type.
type ConfigServersGetOptions ¶
type ConfigServersGetOptions struct { }
ConfigServersGetOptions contains the optional parameters for the ConfigServers.Get method.
type ConfigServersGetResponse ¶
type ConfigServersGetResponse struct { ConfigServersGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConfigServersGetResponse contains the response from method ConfigServers.Get.
type ConfigServersGetResult ¶
type ConfigServersGetResult struct {
ConfigServerResource
}
ConfigServersGetResult contains the result from method ConfigServers.Get.
type ConfigServersUpdatePatchPoller ¶
type ConfigServersUpdatePatchPoller struct {
// contains filtered or unexported fields
}
ConfigServersUpdatePatchPoller provides polling facilities until the operation reaches a terminal state.
func (*ConfigServersUpdatePatchPoller) Done ¶
func (p *ConfigServersUpdatePatchPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ConfigServersUpdatePatchPoller) FinalResponse ¶
func (p *ConfigServersUpdatePatchPoller) FinalResponse(ctx context.Context) (ConfigServersUpdatePatchResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConfigServersUpdatePatchResponse will be returned.
func (*ConfigServersUpdatePatchPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ConfigServersUpdatePatchPoller) ResumeToken ¶
func (p *ConfigServersUpdatePatchPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ConfigServersUpdatePatchPollerResponse ¶
type ConfigServersUpdatePatchPollerResponse struct { // Poller contains an initialized poller. Poller *ConfigServersUpdatePatchPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConfigServersUpdatePatchPollerResponse contains the response from method ConfigServers.UpdatePatch.
func (ConfigServersUpdatePatchPollerResponse) PollUntilDone ¶
func (l ConfigServersUpdatePatchPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ConfigServersUpdatePatchResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ConfigServersUpdatePatchPollerResponse) Resume ¶
func (l *ConfigServersUpdatePatchPollerResponse) Resume(ctx context.Context, client *ConfigServersClient, token string) error
Resume rehydrates a ConfigServersUpdatePatchPollerResponse from the provided client and resume token.
type ConfigServersUpdatePatchResponse ¶
type ConfigServersUpdatePatchResponse struct { ConfigServersUpdatePatchResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConfigServersUpdatePatchResponse contains the response from method ConfigServers.UpdatePatch.
type ConfigServersUpdatePatchResult ¶
type ConfigServersUpdatePatchResult struct {
ConfigServerResource
}
ConfigServersUpdatePatchResult contains the result from method ConfigServers.UpdatePatch.
type ConfigServersUpdatePutPoller ¶
type ConfigServersUpdatePutPoller struct {
// contains filtered or unexported fields
}
ConfigServersUpdatePutPoller provides polling facilities until the operation reaches a terminal state.
func (*ConfigServersUpdatePutPoller) Done ¶
func (p *ConfigServersUpdatePutPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ConfigServersUpdatePutPoller) FinalResponse ¶
func (p *ConfigServersUpdatePutPoller) FinalResponse(ctx context.Context) (ConfigServersUpdatePutResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConfigServersUpdatePutResponse will be returned.
func (*ConfigServersUpdatePutPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ConfigServersUpdatePutPoller) ResumeToken ¶
func (p *ConfigServersUpdatePutPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ConfigServersUpdatePutPollerResponse ¶
type ConfigServersUpdatePutPollerResponse struct { // Poller contains an initialized poller. Poller *ConfigServersUpdatePutPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConfigServersUpdatePutPollerResponse contains the response from method ConfigServers.UpdatePut.
func (ConfigServersUpdatePutPollerResponse) PollUntilDone ¶
func (l ConfigServersUpdatePutPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ConfigServersUpdatePutResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ConfigServersUpdatePutPollerResponse) Resume ¶
func (l *ConfigServersUpdatePutPollerResponse) Resume(ctx context.Context, client *ConfigServersClient, token string) error
Resume rehydrates a ConfigServersUpdatePutPollerResponse from the provided client and resume token.
type ConfigServersUpdatePutResponse ¶
type ConfigServersUpdatePutResponse struct { ConfigServersUpdatePutResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConfigServersUpdatePutResponse contains the response from method ConfigServers.UpdatePut.
type ConfigServersUpdatePutResult ¶
type ConfigServersUpdatePutResult struct {
ConfigServerResource
}
ConfigServersUpdatePutResult contains the result from method ConfigServers.UpdatePut.
type ConfigServersValidatePoller ¶
type ConfigServersValidatePoller struct {
// contains filtered or unexported fields
}
ConfigServersValidatePoller provides polling facilities until the operation reaches a terminal state.
func (*ConfigServersValidatePoller) Done ¶
func (p *ConfigServersValidatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ConfigServersValidatePoller) FinalResponse ¶
func (p *ConfigServersValidatePoller) FinalResponse(ctx context.Context) (ConfigServersValidateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConfigServersValidateResponse will be returned.
func (*ConfigServersValidatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ConfigServersValidatePoller) ResumeToken ¶
func (p *ConfigServersValidatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ConfigServersValidatePollerResponse ¶
type ConfigServersValidatePollerResponse struct { // Poller contains an initialized poller. Poller *ConfigServersValidatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConfigServersValidatePollerResponse contains the response from method ConfigServers.Validate.
func (ConfigServersValidatePollerResponse) PollUntilDone ¶
func (l ConfigServersValidatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ConfigServersValidateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ConfigServersValidatePollerResponse) Resume ¶
func (l *ConfigServersValidatePollerResponse) Resume(ctx context.Context, client *ConfigServersClient, token string) error
Resume rehydrates a ConfigServersValidatePollerResponse from the provided client and resume token.
type ConfigServersValidateResponse ¶
type ConfigServersValidateResponse struct { ConfigServersValidateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConfigServersValidateResponse contains the response from method ConfigServers.Validate.
type ConfigServersValidateResult ¶
type ConfigServersValidateResult struct {
ConfigServerSettingsValidateResult
}
ConfigServersValidateResult contains the result from method ConfigServers.Validate.
type ContentCertificateProperties ¶ added in v0.2.0
type ContentCertificateProperties struct { CertificateProperties // REQUIRED; The content of uploaded certificate. Content *string `json:"content,omitempty"` }
ContentCertificateProperties - Properties of certificate imported from key vault.
func (ContentCertificateProperties) MarshalJSON ¶ added in v0.2.0
func (c ContentCertificateProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ContentCertificateProperties.
func (*ContentCertificateProperties) UnmarshalJSON ¶ added in v0.2.0
func (c *ContentCertificateProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ContentCertificateProperties.
type CreatedByType ¶ added in v0.2.0
type CreatedByType string
CreatedByType - The type of identity that created the resource.
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶ added in v0.2.0
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
func (CreatedByType) ToPtr ¶ added in v0.2.0
func (c CreatedByType) ToPtr() *CreatedByType
ToPtr returns a *CreatedByType pointing to the current value.
type CustomContainer ¶
type CustomContainer struct { // Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Args []*string `json:"args,omitempty"` // Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Command []*string `json:"command,omitempty"` // Container image of the custom container. This should be in the form of : without the server name of the registry ContainerImage *string `json:"containerImage,omitempty"` // Credential of the image registry ImageRegistryCredential *ImageRegistryCredential `json:"imageRegistryCredential,omitempty"` // The name of the registry that contains the container image Server *string `json:"server,omitempty"` }
CustomContainer - Custom container payload
func (CustomContainer) MarshalJSON ¶
func (c CustomContainer) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomContainer.
type CustomDomainProperties ¶
type CustomDomainProperties struct { // The bound certificate name of domain. CertName *string `json:"certName,omitempty"` // The thumbprint of bound certificate. Thumbprint *string `json:"thumbprint,omitempty"` // READ-ONLY; The app name of domain. AppName *string `json:"appName,omitempty" azure:"ro"` }
CustomDomainProperties - Custom domain of app resource payload.
type CustomDomainResource ¶
type CustomDomainResource struct { ProxyResource // Properties of the custom domain resource. Properties *CustomDomainProperties `json:"properties,omitempty"` }
CustomDomainResource - Custom domain resource payload.
func (CustomDomainResource) MarshalJSON ¶
func (c CustomDomainResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomDomainResource.
func (*CustomDomainResource) UnmarshalJSON ¶ added in v0.2.0
func (c *CustomDomainResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CustomDomainResource.
type CustomDomainResourceCollection ¶
type CustomDomainResourceCollection struct { // The link to next page of custom domain list. NextLink *string `json:"nextLink,omitempty"` // The custom domain resources list. Value []*CustomDomainResource `json:"value,omitempty"` }
CustomDomainResourceCollection - Collection compose of a custom domain resources list and a possible link for next page.
func (CustomDomainResourceCollection) MarshalJSON ¶
func (c CustomDomainResourceCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomDomainResourceCollection.
type CustomDomainValidatePayload ¶
type CustomDomainValidatePayload struct { // REQUIRED; Name to be validated Name *string `json:"name,omitempty"` }
CustomDomainValidatePayload - Custom domain validate payload.
type CustomDomainValidateResult ¶
type CustomDomainValidateResult struct { // Indicates if domain name is valid. IsValid *bool `json:"isValid,omitempty"` // Message of why domain name is invalid. Message *string `json:"message,omitempty"` }
CustomDomainValidateResult - Validation result for custom domain.
type CustomDomainsBeginCreateOrUpdateOptions ¶
type CustomDomainsBeginCreateOrUpdateOptions struct { }
CustomDomainsBeginCreateOrUpdateOptions contains the optional parameters for the CustomDomains.BeginCreateOrUpdate method.
type CustomDomainsBeginDeleteOptions ¶
type CustomDomainsBeginDeleteOptions struct { }
CustomDomainsBeginDeleteOptions contains the optional parameters for the CustomDomains.BeginDelete method.
type CustomDomainsBeginUpdateOptions ¶
type CustomDomainsBeginUpdateOptions struct { }
CustomDomainsBeginUpdateOptions contains the optional parameters for the CustomDomains.BeginUpdate method.
type CustomDomainsClient ¶
type CustomDomainsClient struct {
// contains filtered or unexported fields
}
CustomDomainsClient contains the methods for the CustomDomains group. Don't use this type directly, use NewCustomDomainsClient() instead.
func NewCustomDomainsClient ¶
func NewCustomDomainsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CustomDomainsClient
NewCustomDomainsClient creates a new instance of CustomDomainsClient with the specified values.
func (*CustomDomainsClient) BeginCreateOrUpdate ¶
func (client *CustomDomainsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource CustomDomainResource, options *CustomDomainsBeginCreateOrUpdateOptions) (CustomDomainsCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Create or update custom domain of one lifecycle application. If the operation fails it returns the *CloudError error type.
func (*CustomDomainsClient) BeginDelete ¶
func (client *CustomDomainsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, options *CustomDomainsBeginDeleteOptions) (CustomDomainsDeletePollerResponse, error)
BeginDelete - Delete the custom domain of one lifecycle application. If the operation fails it returns the *CloudError error type.
func (*CustomDomainsClient) BeginUpdate ¶
func (client *CustomDomainsClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, domainResource CustomDomainResource, options *CustomDomainsBeginUpdateOptions) (CustomDomainsUpdatePollerResponse, error)
BeginUpdate - Update custom domain of one lifecycle application. If the operation fails it returns the *CloudError error type.
func (*CustomDomainsClient) Get ¶
func (client *CustomDomainsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, appName string, domainName string, options *CustomDomainsGetOptions) (CustomDomainsGetResponse, error)
Get - Get the custom domain of one lifecycle application. If the operation fails it returns the *CloudError error type.
func (*CustomDomainsClient) List ¶
func (client *CustomDomainsClient) List(resourceGroupName string, serviceName string, appName string, options *CustomDomainsListOptions) *CustomDomainsListPager
List - List the custom domains of one lifecycle application. If the operation fails it returns the *CloudError error type.
type CustomDomainsCreateOrUpdatePoller ¶
type CustomDomainsCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
CustomDomainsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*CustomDomainsCreateOrUpdatePoller) Done ¶
func (p *CustomDomainsCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CustomDomainsCreateOrUpdatePoller) FinalResponse ¶
func (p *CustomDomainsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (CustomDomainsCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomDomainsCreateOrUpdateResponse will be returned.
func (*CustomDomainsCreateOrUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CustomDomainsCreateOrUpdatePoller) ResumeToken ¶
func (p *CustomDomainsCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CustomDomainsCreateOrUpdatePollerResponse ¶
type CustomDomainsCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *CustomDomainsCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsCreateOrUpdatePollerResponse contains the response from method CustomDomains.CreateOrUpdate.
func (CustomDomainsCreateOrUpdatePollerResponse) PollUntilDone ¶
func (l CustomDomainsCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CustomDomainsCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CustomDomainsCreateOrUpdatePollerResponse) Resume ¶
func (l *CustomDomainsCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *CustomDomainsClient, token string) error
Resume rehydrates a CustomDomainsCreateOrUpdatePollerResponse from the provided client and resume token.
type CustomDomainsCreateOrUpdateResponse ¶
type CustomDomainsCreateOrUpdateResponse struct { CustomDomainsCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsCreateOrUpdateResponse contains the response from method CustomDomains.CreateOrUpdate.
type CustomDomainsCreateOrUpdateResult ¶
type CustomDomainsCreateOrUpdateResult struct {
CustomDomainResource
}
CustomDomainsCreateOrUpdateResult contains the result from method CustomDomains.CreateOrUpdate.
type CustomDomainsDeletePoller ¶
type CustomDomainsDeletePoller struct {
// contains filtered or unexported fields
}
CustomDomainsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*CustomDomainsDeletePoller) Done ¶
func (p *CustomDomainsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CustomDomainsDeletePoller) FinalResponse ¶
func (p *CustomDomainsDeletePoller) FinalResponse(ctx context.Context) (CustomDomainsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomDomainsDeleteResponse will be returned.
func (*CustomDomainsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CustomDomainsDeletePoller) ResumeToken ¶
func (p *CustomDomainsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CustomDomainsDeletePollerResponse ¶
type CustomDomainsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *CustomDomainsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsDeletePollerResponse contains the response from method CustomDomains.Delete.
func (CustomDomainsDeletePollerResponse) PollUntilDone ¶
func (l CustomDomainsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CustomDomainsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CustomDomainsDeletePollerResponse) Resume ¶
func (l *CustomDomainsDeletePollerResponse) Resume(ctx context.Context, client *CustomDomainsClient, token string) error
Resume rehydrates a CustomDomainsDeletePollerResponse from the provided client and resume token.
type CustomDomainsDeleteResponse ¶
type CustomDomainsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsDeleteResponse contains the response from method CustomDomains.Delete.
type CustomDomainsGetOptions ¶
type CustomDomainsGetOptions struct { }
CustomDomainsGetOptions contains the optional parameters for the CustomDomains.Get method.
type CustomDomainsGetResponse ¶
type CustomDomainsGetResponse struct { CustomDomainsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsGetResponse contains the response from method CustomDomains.Get.
type CustomDomainsGetResult ¶
type CustomDomainsGetResult struct {
CustomDomainResource
}
CustomDomainsGetResult contains the result from method CustomDomains.Get.
type CustomDomainsListOptions ¶
type CustomDomainsListOptions struct { }
CustomDomainsListOptions contains the optional parameters for the CustomDomains.List method.
type CustomDomainsListPager ¶
type CustomDomainsListPager struct {
// contains filtered or unexported fields
}
CustomDomainsListPager provides operations for iterating over paged responses.
func (*CustomDomainsListPager) Err ¶
func (p *CustomDomainsListPager) Err() error
Err returns the last error encountered while paging.
func (*CustomDomainsListPager) NextPage ¶
func (p *CustomDomainsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*CustomDomainsListPager) PageResponse ¶
func (p *CustomDomainsListPager) PageResponse() CustomDomainsListResponse
PageResponse returns the current CustomDomainsListResponse page.
type CustomDomainsListResponse ¶
type CustomDomainsListResponse struct { CustomDomainsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsListResponse contains the response from method CustomDomains.List.
type CustomDomainsListResult ¶
type CustomDomainsListResult struct {
CustomDomainResourceCollection
}
CustomDomainsListResult contains the result from method CustomDomains.List.
type CustomDomainsUpdatePoller ¶
type CustomDomainsUpdatePoller struct {
// contains filtered or unexported fields
}
CustomDomainsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*CustomDomainsUpdatePoller) Done ¶
func (p *CustomDomainsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*CustomDomainsUpdatePoller) FinalResponse ¶
func (p *CustomDomainsUpdatePoller) FinalResponse(ctx context.Context) (CustomDomainsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CustomDomainsUpdateResponse will be returned.
func (*CustomDomainsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*CustomDomainsUpdatePoller) ResumeToken ¶
func (p *CustomDomainsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type CustomDomainsUpdatePollerResponse ¶
type CustomDomainsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *CustomDomainsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsUpdatePollerResponse contains the response from method CustomDomains.Update.
func (CustomDomainsUpdatePollerResponse) PollUntilDone ¶
func (l CustomDomainsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (CustomDomainsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*CustomDomainsUpdatePollerResponse) Resume ¶
func (l *CustomDomainsUpdatePollerResponse) Resume(ctx context.Context, client *CustomDomainsClient, token string) error
Resume rehydrates a CustomDomainsUpdatePollerResponse from the provided client and resume token.
type CustomDomainsUpdateResponse ¶
type CustomDomainsUpdateResponse struct { CustomDomainsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
CustomDomainsUpdateResponse contains the response from method CustomDomains.Update.
type CustomDomainsUpdateResult ¶
type CustomDomainsUpdateResult struct {
CustomDomainResource
}
CustomDomainsUpdateResult contains the result from method CustomDomains.Update.
type CustomPersistentDiskProperties ¶ added in v0.2.0
type CustomPersistentDiskProperties struct { // REQUIRED; The mount path of the persistent disk. MountPath *string `json:"mountPath,omitempty"` // REQUIRED; The type of the underlying resource to mount as a persistent disk. Type *CustomPersistentDiskPropertiesType `json:"type,omitempty"` // These are the mount options for a persistent disk. MountOptions []*string `json:"mountOptions,omitempty"` // Indicates whether the persistent disk is a readOnly one. ReadOnly *bool `json:"readOnly,omitempty"` }
CustomPersistentDiskProperties - Custom persistent disk resource payload.
func (*CustomPersistentDiskProperties) GetCustomPersistentDiskProperties ¶ added in v0.2.0
func (c *CustomPersistentDiskProperties) GetCustomPersistentDiskProperties() *CustomPersistentDiskProperties
GetCustomPersistentDiskProperties implements the CustomPersistentDiskPropertiesClassification interface for type CustomPersistentDiskProperties.
func (*CustomPersistentDiskProperties) UnmarshalJSON ¶ added in v0.2.0
func (c *CustomPersistentDiskProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CustomPersistentDiskProperties.
type CustomPersistentDiskPropertiesClassification ¶ added in v0.2.0
type CustomPersistentDiskPropertiesClassification interface { // GetCustomPersistentDiskProperties returns the CustomPersistentDiskProperties content of the underlying type. GetCustomPersistentDiskProperties() *CustomPersistentDiskProperties }
CustomPersistentDiskPropertiesClassification provides polymorphic access to related types. Call the interface's GetCustomPersistentDiskProperties() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *AzureFileVolume, *CustomPersistentDiskProperties
type CustomPersistentDiskPropertiesType ¶ added in v0.2.0
type CustomPersistentDiskPropertiesType string
CustomPersistentDiskPropertiesType - The type of the underlying resource to mount as a persistent disk.
const (
CustomPersistentDiskPropertiesTypeAzureFileVolume CustomPersistentDiskPropertiesType = "AzureFileVolume"
)
func PossibleCustomPersistentDiskPropertiesTypeValues ¶ added in v0.2.0
func PossibleCustomPersistentDiskPropertiesTypeValues() []CustomPersistentDiskPropertiesType
PossibleCustomPersistentDiskPropertiesTypeValues returns the possible values for the CustomPersistentDiskPropertiesType const type.
func (CustomPersistentDiskPropertiesType) ToPtr ¶ added in v0.2.0
func (c CustomPersistentDiskPropertiesType) ToPtr() *CustomPersistentDiskPropertiesType
ToPtr returns a *CustomPersistentDiskPropertiesType pointing to the current value.
type CustomPersistentDiskResource ¶ added in v0.2.0
type CustomPersistentDiskResource struct { // REQUIRED; The resource id of Azure Spring Cloud Storage resource. StorageID *string `json:"storageId,omitempty"` // Properties of the custom persistent disk resource payload. CustomPersistentDiskProperties CustomPersistentDiskPropertiesClassification `json:"customPersistentDiskProperties,omitempty"` }
CustomPersistentDiskResource - Custom persistent disk resource payload.
func (CustomPersistentDiskResource) MarshalJSON ¶ added in v0.2.0
func (c CustomPersistentDiskResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CustomPersistentDiskResource.
func (*CustomPersistentDiskResource) UnmarshalJSON ¶ added in v0.2.0
func (c *CustomPersistentDiskResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type CustomPersistentDiskResource.
type DeploymentInstance ¶
type DeploymentInstance struct { // READ-ONLY; Discovery status of the deployment instance DiscoveryStatus *string `json:"discoveryStatus,omitempty" azure:"ro"` // READ-ONLY; Name of the deployment instance Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Failed reason of the deployment instance Reason *string `json:"reason,omitempty" azure:"ro"` // READ-ONLY; Start time of the deployment instance StartTime *string `json:"startTime,omitempty" azure:"ro"` // READ-ONLY; Status of the deployment instance Status *string `json:"status,omitempty" azure:"ro"` }
DeploymentInstance - Deployment instance payload
type DeploymentResource ¶
type DeploymentResource struct { ProxyResource // Properties of the Deployment resource Properties *DeploymentResourceProperties `json:"properties,omitempty"` // Sku of the Deployment resource SKU *SKU `json:"sku,omitempty"` }
DeploymentResource - Deployment resource payload
func (DeploymentResource) MarshalJSON ¶
func (d DeploymentResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentResource.
func (*DeploymentResource) UnmarshalJSON ¶ added in v0.2.0
func (d *DeploymentResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentResource.
type DeploymentResourceCollection ¶
type DeploymentResourceCollection struct { // URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. NextLink *string `json:"nextLink,omitempty"` // Collection of Deployment resources Value []*DeploymentResource `json:"value,omitempty"` }
DeploymentResourceCollection - Object that includes an array of App resources and a possible link for next set
func (DeploymentResourceCollection) MarshalJSON ¶
func (d DeploymentResourceCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentResourceCollection.
type DeploymentResourceProperties ¶
type DeploymentResourceProperties struct { // Deployment settings of the Deployment DeploymentSettings *DeploymentSettings `json:"deploymentSettings,omitempty"` // Uploaded source information of the deployment. Source *UserSourceInfo `json:"source,omitempty"` // READ-ONLY; Indicates whether the Deployment is active Active *bool `json:"active,omitempty" azure:"ro"` // READ-ONLY; App name of the deployment AppName *string `json:"appName,omitempty" azure:"ro"` // READ-ONLY; Date time when the resource is created CreatedTime *time.Time `json:"createdTime,omitempty" azure:"ro"` // READ-ONLY; Collection of instances belong to the Deployment Instances []*DeploymentInstance `json:"instances,omitempty" azure:"ro"` // READ-ONLY; Provisioning state of the Deployment ProvisioningState *DeploymentResourceProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; Status of the Deployment Status *DeploymentResourceStatus `json:"status,omitempty" azure:"ro"` }
DeploymentResourceProperties - Deployment resource properties payload
func (DeploymentResourceProperties) MarshalJSON ¶
func (d DeploymentResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentResourceProperties.
func (*DeploymentResourceProperties) UnmarshalJSON ¶
func (d *DeploymentResourceProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DeploymentResourceProperties.
type DeploymentResourceProvisioningState ¶
type DeploymentResourceProvisioningState string
DeploymentResourceProvisioningState - Provisioning state of the Deployment
const ( DeploymentResourceProvisioningStateCreating DeploymentResourceProvisioningState = "Creating" DeploymentResourceProvisioningStateFailed DeploymentResourceProvisioningState = "Failed" DeploymentResourceProvisioningStateSucceeded DeploymentResourceProvisioningState = "Succeeded" DeploymentResourceProvisioningStateUpdating DeploymentResourceProvisioningState = "Updating" )
func PossibleDeploymentResourceProvisioningStateValues ¶
func PossibleDeploymentResourceProvisioningStateValues() []DeploymentResourceProvisioningState
PossibleDeploymentResourceProvisioningStateValues returns the possible values for the DeploymentResourceProvisioningState const type.
func (DeploymentResourceProvisioningState) ToPtr ¶
func (c DeploymentResourceProvisioningState) ToPtr() *DeploymentResourceProvisioningState
ToPtr returns a *DeploymentResourceProvisioningState pointing to the current value.
type DeploymentResourceStatus ¶
type DeploymentResourceStatus string
DeploymentResourceStatus - Status of the Deployment
const ( DeploymentResourceStatusAllocating DeploymentResourceStatus = "Allocating" DeploymentResourceStatusCompiling DeploymentResourceStatus = "Compiling" DeploymentResourceStatusFailed DeploymentResourceStatus = "Failed" DeploymentResourceStatusRunning DeploymentResourceStatus = "Running" DeploymentResourceStatusStopped DeploymentResourceStatus = "Stopped" DeploymentResourceStatusUnknown DeploymentResourceStatus = "Unknown" DeploymentResourceStatusUpgrading DeploymentResourceStatus = "Upgrading" )
func PossibleDeploymentResourceStatusValues ¶
func PossibleDeploymentResourceStatusValues() []DeploymentResourceStatus
PossibleDeploymentResourceStatusValues returns the possible values for the DeploymentResourceStatus const type.
func (DeploymentResourceStatus) ToPtr ¶
func (c DeploymentResourceStatus) ToPtr() *DeploymentResourceStatus
ToPtr returns a *DeploymentResourceStatus pointing to the current value.
type DeploymentSettings ¶
type DeploymentSettings struct { // Required CPU. This should be 1 for Basic tier, and in range [1, 4] for Standard tier. This is deprecated starting from API version 2021-09-01-preview. // Please use the resourceRequests field to set the // CPU size. CPU *int32 `json:"cpu,omitempty"` // Container liveness and readiness probe settings ContainerProbeSettings *DeploymentSettingsContainerProbeSettings `json:"containerProbeSettings,omitempty"` // Collection of environment variables EnvironmentVariables map[string]*string `json:"environmentVariables,omitempty"` // JVM parameter JvmOptions *string `json:"jvmOptions,omitempty"` // Required Memory size in GB. This should be in range [1, 2] for Basic tier, and in range [1, 8] for Standard tier. This is deprecated starting from API // version 2021-09-01-preview. Please use the // resourceRequests field to set the the memory size. MemoryInGB *int32 `json:"memoryInGB,omitempty"` // The path to the .NET executable relative to zip root NetCoreMainEntryPath *string `json:"netCoreMainEntryPath,omitempty"` // The requested resource quantity for required CPU and Memory. It is recommended that using this field to represent the required CPU and Memory, the old // field cpu and memoryInGB will be deprecated // later. ResourceRequests *ResourceRequests `json:"resourceRequests,omitempty"` // Runtime version RuntimeVersion *RuntimeVersion `json:"runtimeVersion,omitempty"` }
DeploymentSettings - Deployment settings payload
func (DeploymentSettings) MarshalJSON ¶
func (d DeploymentSettings) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DeploymentSettings.
type DeploymentSettingsContainerProbeSettings ¶ added in v0.2.0
type DeploymentSettingsContainerProbeSettings struct { // Indicates whether disable the liveness and readiness probe DisableProbe *bool `json:"disableProbe,omitempty"` }
DeploymentSettingsContainerProbeSettings - Container liveness and readiness probe settings
type DeploymentsBeginCreateOrUpdateOptions ¶
type DeploymentsBeginCreateOrUpdateOptions struct { }
DeploymentsBeginCreateOrUpdateOptions contains the optional parameters for the Deployments.BeginCreateOrUpdate method.
type DeploymentsBeginDeleteOptions ¶
type DeploymentsBeginDeleteOptions struct { }
DeploymentsBeginDeleteOptions contains the optional parameters for the Deployments.BeginDelete method.
type DeploymentsBeginGenerateHeapDumpOptions ¶ added in v0.2.0
type DeploymentsBeginGenerateHeapDumpOptions struct { }
DeploymentsBeginGenerateHeapDumpOptions contains the optional parameters for the Deployments.BeginGenerateHeapDump method.
type DeploymentsBeginGenerateThreadDumpOptions ¶ added in v0.2.0
type DeploymentsBeginGenerateThreadDumpOptions struct { }
DeploymentsBeginGenerateThreadDumpOptions contains the optional parameters for the Deployments.BeginGenerateThreadDump method.
type DeploymentsBeginRestartOptions ¶
type DeploymentsBeginRestartOptions struct { }
DeploymentsBeginRestartOptions contains the optional parameters for the Deployments.BeginRestart method.
type DeploymentsBeginStartJFROptions ¶ added in v0.2.0
type DeploymentsBeginStartJFROptions struct { }
DeploymentsBeginStartJFROptions contains the optional parameters for the Deployments.BeginStartJFR method.
type DeploymentsBeginStartOptions ¶
type DeploymentsBeginStartOptions struct { }
DeploymentsBeginStartOptions contains the optional parameters for the Deployments.BeginStart method.
type DeploymentsBeginStopOptions ¶
type DeploymentsBeginStopOptions struct { }
DeploymentsBeginStopOptions contains the optional parameters for the Deployments.BeginStop method.
type DeploymentsBeginUpdateOptions ¶
type DeploymentsBeginUpdateOptions struct { }
DeploymentsBeginUpdateOptions contains the optional parameters for the Deployments.BeginUpdate method.
type DeploymentsClient ¶
type DeploymentsClient struct {
// contains filtered or unexported fields
}
DeploymentsClient contains the methods for the Deployments group. Don't use this type directly, use NewDeploymentsClient() instead.
func NewDeploymentsClient ¶
func NewDeploymentsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *DeploymentsClient
NewDeploymentsClient creates a new instance of DeploymentsClient with the specified values.
func (*DeploymentsClient) BeginCreateOrUpdate ¶
func (client *DeploymentsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, deploymentResource DeploymentResource, options *DeploymentsBeginCreateOrUpdateOptions) (DeploymentsCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Create a new Deployment or update an exiting Deployment. If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) BeginDelete ¶
func (client *DeploymentsClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *DeploymentsBeginDeleteOptions) (DeploymentsDeletePollerResponse, error)
BeginDelete - Operation to delete a Deployment. If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) BeginGenerateHeapDump ¶ added in v0.2.0
func (client *DeploymentsClient) BeginGenerateHeapDump(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters, options *DeploymentsBeginGenerateHeapDumpOptions) (DeploymentsGenerateHeapDumpPollerResponse, error)
BeginGenerateHeapDump - Generate Heap Dump If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) BeginGenerateThreadDump ¶ added in v0.2.0
func (client *DeploymentsClient) BeginGenerateThreadDump(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters, options *DeploymentsBeginGenerateThreadDumpOptions) (DeploymentsGenerateThreadDumpPollerResponse, error)
BeginGenerateThreadDump - Generate Thread Dump If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) BeginRestart ¶
func (client *DeploymentsClient) BeginRestart(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *DeploymentsBeginRestartOptions) (DeploymentsRestartPollerResponse, error)
BeginRestart - Restart the deployment. If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) BeginStart ¶
func (client *DeploymentsClient) BeginStart(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *DeploymentsBeginStartOptions) (DeploymentsStartPollerResponse, error)
BeginStart - Start the deployment. If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) BeginStartJFR ¶ added in v0.2.0
func (client *DeploymentsClient) BeginStartJFR(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, diagnosticParameters DiagnosticParameters, options *DeploymentsBeginStartJFROptions) (DeploymentsStartJFRPollerResponse, error)
BeginStartJFR - Start JFR If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) BeginStop ¶
func (client *DeploymentsClient) BeginStop(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *DeploymentsBeginStopOptions) (DeploymentsStopPollerResponse, error)
BeginStop - Stop the deployment. If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) BeginUpdate ¶
func (client *DeploymentsClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, deploymentResource DeploymentResource, options *DeploymentsBeginUpdateOptions) (DeploymentsUpdatePollerResponse, error)
BeginUpdate - Operation to update an exiting Deployment. If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) Get ¶
func (client *DeploymentsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *DeploymentsGetOptions) (DeploymentsGetResponse, error)
Get - Get a Deployment and its properties. If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) GetLogFileURL ¶
func (client *DeploymentsClient) GetLogFileURL(ctx context.Context, resourceGroupName string, serviceName string, appName string, deploymentName string, options *DeploymentsGetLogFileURLOptions) (DeploymentsGetLogFileURLResponse, error)
GetLogFileURL - Get deployment log file URL If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) List ¶
func (client *DeploymentsClient) List(resourceGroupName string, serviceName string, appName string, options *DeploymentsListOptions) *DeploymentsListPager
List - Handles requests to list all resources in an App. If the operation fails it returns the *CloudError error type.
func (*DeploymentsClient) ListForCluster ¶
func (client *DeploymentsClient) ListForCluster(resourceGroupName string, serviceName string, options *DeploymentsListForClusterOptions) *DeploymentsListForClusterPager
ListForCluster - List deployments for a certain service If the operation fails it returns the *CloudError error type.
type DeploymentsCreateOrUpdatePoller ¶
type DeploymentsCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
DeploymentsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsCreateOrUpdatePoller) Done ¶
func (p *DeploymentsCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsCreateOrUpdatePoller) FinalResponse ¶
func (p *DeploymentsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (DeploymentsCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsCreateOrUpdateResponse will be returned.
func (*DeploymentsCreateOrUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsCreateOrUpdatePoller) ResumeToken ¶
func (p *DeploymentsCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsCreateOrUpdatePollerResponse ¶
type DeploymentsCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsCreateOrUpdatePollerResponse contains the response from method Deployments.CreateOrUpdate.
func (DeploymentsCreateOrUpdatePollerResponse) PollUntilDone ¶
func (l DeploymentsCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsCreateOrUpdatePollerResponse) Resume ¶
func (l *DeploymentsCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsCreateOrUpdatePollerResponse from the provided client and resume token.
type DeploymentsCreateOrUpdateResponse ¶
type DeploymentsCreateOrUpdateResponse struct { DeploymentsCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsCreateOrUpdateResponse contains the response from method Deployments.CreateOrUpdate.
type DeploymentsCreateOrUpdateResult ¶
type DeploymentsCreateOrUpdateResult struct {
DeploymentResource
}
DeploymentsCreateOrUpdateResult contains the result from method Deployments.CreateOrUpdate.
type DeploymentsDeletePoller ¶
type DeploymentsDeletePoller struct {
// contains filtered or unexported fields
}
DeploymentsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsDeletePoller) Done ¶
func (p *DeploymentsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsDeletePoller) FinalResponse ¶
func (p *DeploymentsDeletePoller) FinalResponse(ctx context.Context) (DeploymentsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsDeleteResponse will be returned.
func (*DeploymentsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsDeletePoller) ResumeToken ¶
func (p *DeploymentsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsDeletePollerResponse ¶
type DeploymentsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsDeletePollerResponse contains the response from method Deployments.Delete.
func (DeploymentsDeletePollerResponse) PollUntilDone ¶
func (l DeploymentsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsDeletePollerResponse) Resume ¶
func (l *DeploymentsDeletePollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsDeletePollerResponse from the provided client and resume token.
type DeploymentsDeleteResponse ¶
type DeploymentsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsDeleteResponse contains the response from method Deployments.Delete.
type DeploymentsGenerateHeapDumpPoller ¶ added in v0.2.0
type DeploymentsGenerateHeapDumpPoller struct {
// contains filtered or unexported fields
}
DeploymentsGenerateHeapDumpPoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsGenerateHeapDumpPoller) Done ¶ added in v0.2.0
func (p *DeploymentsGenerateHeapDumpPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsGenerateHeapDumpPoller) FinalResponse ¶ added in v0.2.0
func (p *DeploymentsGenerateHeapDumpPoller) FinalResponse(ctx context.Context) (DeploymentsGenerateHeapDumpResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsGenerateHeapDumpResponse will be returned.
func (*DeploymentsGenerateHeapDumpPoller) Poll ¶ added in v0.2.0
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsGenerateHeapDumpPoller) ResumeToken ¶ added in v0.2.0
func (p *DeploymentsGenerateHeapDumpPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsGenerateHeapDumpPollerResponse ¶ added in v0.2.0
type DeploymentsGenerateHeapDumpPollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsGenerateHeapDumpPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsGenerateHeapDumpPollerResponse contains the response from method Deployments.GenerateHeapDump.
func (DeploymentsGenerateHeapDumpPollerResponse) PollUntilDone ¶ added in v0.2.0
func (l DeploymentsGenerateHeapDumpPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsGenerateHeapDumpResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsGenerateHeapDumpPollerResponse) Resume ¶ added in v0.2.0
func (l *DeploymentsGenerateHeapDumpPollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsGenerateHeapDumpPollerResponse from the provided client and resume token.
type DeploymentsGenerateHeapDumpResponse ¶ added in v0.2.0
type DeploymentsGenerateHeapDumpResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsGenerateHeapDumpResponse contains the response from method Deployments.GenerateHeapDump.
type DeploymentsGenerateThreadDumpPoller ¶ added in v0.2.0
type DeploymentsGenerateThreadDumpPoller struct {
// contains filtered or unexported fields
}
DeploymentsGenerateThreadDumpPoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsGenerateThreadDumpPoller) Done ¶ added in v0.2.0
func (p *DeploymentsGenerateThreadDumpPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsGenerateThreadDumpPoller) FinalResponse ¶ added in v0.2.0
func (p *DeploymentsGenerateThreadDumpPoller) FinalResponse(ctx context.Context) (DeploymentsGenerateThreadDumpResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsGenerateThreadDumpResponse will be returned.
func (*DeploymentsGenerateThreadDumpPoller) Poll ¶ added in v0.2.0
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsGenerateThreadDumpPoller) ResumeToken ¶ added in v0.2.0
func (p *DeploymentsGenerateThreadDumpPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsGenerateThreadDumpPollerResponse ¶ added in v0.2.0
type DeploymentsGenerateThreadDumpPollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsGenerateThreadDumpPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsGenerateThreadDumpPollerResponse contains the response from method Deployments.GenerateThreadDump.
func (DeploymentsGenerateThreadDumpPollerResponse) PollUntilDone ¶ added in v0.2.0
func (l DeploymentsGenerateThreadDumpPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsGenerateThreadDumpResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsGenerateThreadDumpPollerResponse) Resume ¶ added in v0.2.0
func (l *DeploymentsGenerateThreadDumpPollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsGenerateThreadDumpPollerResponse from the provided client and resume token.
type DeploymentsGenerateThreadDumpResponse ¶ added in v0.2.0
type DeploymentsGenerateThreadDumpResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsGenerateThreadDumpResponse contains the response from method Deployments.GenerateThreadDump.
type DeploymentsGetLogFileURLOptions ¶
type DeploymentsGetLogFileURLOptions struct { }
DeploymentsGetLogFileURLOptions contains the optional parameters for the Deployments.GetLogFileURL method.
type DeploymentsGetLogFileURLResponse ¶
type DeploymentsGetLogFileURLResponse struct { DeploymentsGetLogFileURLResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsGetLogFileURLResponse contains the response from method Deployments.GetLogFileURL.
type DeploymentsGetLogFileURLResult ¶
type DeploymentsGetLogFileURLResult struct {
LogFileURLResponse
}
DeploymentsGetLogFileURLResult contains the result from method Deployments.GetLogFileURL.
type DeploymentsGetOptions ¶
type DeploymentsGetOptions struct { }
DeploymentsGetOptions contains the optional parameters for the Deployments.Get method.
type DeploymentsGetResponse ¶
type DeploymentsGetResponse struct { DeploymentsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsGetResponse contains the response from method Deployments.Get.
type DeploymentsGetResult ¶
type DeploymentsGetResult struct {
DeploymentResource
}
DeploymentsGetResult contains the result from method Deployments.Get.
type DeploymentsListForClusterOptions ¶
type DeploymentsListForClusterOptions struct { // Version of the deployments to be listed Version []string }
DeploymentsListForClusterOptions contains the optional parameters for the Deployments.ListForCluster method.
type DeploymentsListForClusterPager ¶
type DeploymentsListForClusterPager struct {
// contains filtered or unexported fields
}
DeploymentsListForClusterPager provides operations for iterating over paged responses.
func (*DeploymentsListForClusterPager) Err ¶
func (p *DeploymentsListForClusterPager) Err() error
Err returns the last error encountered while paging.
func (*DeploymentsListForClusterPager) NextPage ¶
func (p *DeploymentsListForClusterPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*DeploymentsListForClusterPager) PageResponse ¶
func (p *DeploymentsListForClusterPager) PageResponse() DeploymentsListForClusterResponse
PageResponse returns the current DeploymentsListForClusterResponse page.
type DeploymentsListForClusterResponse ¶
type DeploymentsListForClusterResponse struct { DeploymentsListForClusterResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsListForClusterResponse contains the response from method Deployments.ListForCluster.
type DeploymentsListForClusterResult ¶
type DeploymentsListForClusterResult struct {
DeploymentResourceCollection
}
DeploymentsListForClusterResult contains the result from method Deployments.ListForCluster.
type DeploymentsListOptions ¶
type DeploymentsListOptions struct { // Version of the deployments to be listed Version []string }
DeploymentsListOptions contains the optional parameters for the Deployments.List method.
type DeploymentsListPager ¶
type DeploymentsListPager struct {
// contains filtered or unexported fields
}
DeploymentsListPager provides operations for iterating over paged responses.
func (*DeploymentsListPager) Err ¶
func (p *DeploymentsListPager) Err() error
Err returns the last error encountered while paging.
func (*DeploymentsListPager) NextPage ¶
func (p *DeploymentsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*DeploymentsListPager) PageResponse ¶
func (p *DeploymentsListPager) PageResponse() DeploymentsListResponse
PageResponse returns the current DeploymentsListResponse page.
type DeploymentsListResponse ¶
type DeploymentsListResponse struct { DeploymentsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsListResponse contains the response from method Deployments.List.
type DeploymentsListResult ¶
type DeploymentsListResult struct {
DeploymentResourceCollection
}
DeploymentsListResult contains the result from method Deployments.List.
type DeploymentsRestartPoller ¶
type DeploymentsRestartPoller struct {
// contains filtered or unexported fields
}
DeploymentsRestartPoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsRestartPoller) Done ¶
func (p *DeploymentsRestartPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsRestartPoller) FinalResponse ¶
func (p *DeploymentsRestartPoller) FinalResponse(ctx context.Context) (DeploymentsRestartResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsRestartResponse will be returned.
func (*DeploymentsRestartPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsRestartPoller) ResumeToken ¶
func (p *DeploymentsRestartPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsRestartPollerResponse ¶
type DeploymentsRestartPollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsRestartPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsRestartPollerResponse contains the response from method Deployments.Restart.
func (DeploymentsRestartPollerResponse) PollUntilDone ¶
func (l DeploymentsRestartPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsRestartResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsRestartPollerResponse) Resume ¶
func (l *DeploymentsRestartPollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsRestartPollerResponse from the provided client and resume token.
type DeploymentsRestartResponse ¶
type DeploymentsRestartResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsRestartResponse contains the response from method Deployments.Restart.
type DeploymentsStartJFRPoller ¶ added in v0.2.0
type DeploymentsStartJFRPoller struct {
// contains filtered or unexported fields
}
DeploymentsStartJFRPoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsStartJFRPoller) Done ¶ added in v0.2.0
func (p *DeploymentsStartJFRPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsStartJFRPoller) FinalResponse ¶ added in v0.2.0
func (p *DeploymentsStartJFRPoller) FinalResponse(ctx context.Context) (DeploymentsStartJFRResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsStartJFRResponse will be returned.
func (*DeploymentsStartJFRPoller) Poll ¶ added in v0.2.0
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsStartJFRPoller) ResumeToken ¶ added in v0.2.0
func (p *DeploymentsStartJFRPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsStartJFRPollerResponse ¶ added in v0.2.0
type DeploymentsStartJFRPollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsStartJFRPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsStartJFRPollerResponse contains the response from method Deployments.StartJFR.
func (DeploymentsStartJFRPollerResponse) PollUntilDone ¶ added in v0.2.0
func (l DeploymentsStartJFRPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsStartJFRResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsStartJFRPollerResponse) Resume ¶ added in v0.2.0
func (l *DeploymentsStartJFRPollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsStartJFRPollerResponse from the provided client and resume token.
type DeploymentsStartJFRResponse ¶ added in v0.2.0
type DeploymentsStartJFRResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsStartJFRResponse contains the response from method Deployments.StartJFR.
type DeploymentsStartPoller ¶
type DeploymentsStartPoller struct {
// contains filtered or unexported fields
}
DeploymentsStartPoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsStartPoller) Done ¶
func (p *DeploymentsStartPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsStartPoller) FinalResponse ¶
func (p *DeploymentsStartPoller) FinalResponse(ctx context.Context) (DeploymentsStartResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsStartResponse will be returned.
func (*DeploymentsStartPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsStartPoller) ResumeToken ¶
func (p *DeploymentsStartPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsStartPollerResponse ¶
type DeploymentsStartPollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsStartPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsStartPollerResponse contains the response from method Deployments.Start.
func (DeploymentsStartPollerResponse) PollUntilDone ¶
func (l DeploymentsStartPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsStartResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsStartPollerResponse) Resume ¶
func (l *DeploymentsStartPollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsStartPollerResponse from the provided client and resume token.
type DeploymentsStartResponse ¶
type DeploymentsStartResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsStartResponse contains the response from method Deployments.Start.
type DeploymentsStopPoller ¶
type DeploymentsStopPoller struct {
// contains filtered or unexported fields
}
DeploymentsStopPoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsStopPoller) Done ¶
func (p *DeploymentsStopPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsStopPoller) FinalResponse ¶
func (p *DeploymentsStopPoller) FinalResponse(ctx context.Context) (DeploymentsStopResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsStopResponse will be returned.
func (*DeploymentsStopPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsStopPoller) ResumeToken ¶
func (p *DeploymentsStopPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsStopPollerResponse ¶
type DeploymentsStopPollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsStopPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsStopPollerResponse contains the response from method Deployments.Stop.
func (DeploymentsStopPollerResponse) PollUntilDone ¶
func (l DeploymentsStopPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsStopResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsStopPollerResponse) Resume ¶
func (l *DeploymentsStopPollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsStopPollerResponse from the provided client and resume token.
type DeploymentsStopResponse ¶
type DeploymentsStopResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsStopResponse contains the response from method Deployments.Stop.
type DeploymentsUpdatePoller ¶
type DeploymentsUpdatePoller struct {
// contains filtered or unexported fields
}
DeploymentsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*DeploymentsUpdatePoller) Done ¶
func (p *DeploymentsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*DeploymentsUpdatePoller) FinalResponse ¶
func (p *DeploymentsUpdatePoller) FinalResponse(ctx context.Context) (DeploymentsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DeploymentsUpdateResponse will be returned.
func (*DeploymentsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*DeploymentsUpdatePoller) ResumeToken ¶
func (p *DeploymentsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type DeploymentsUpdatePollerResponse ¶
type DeploymentsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *DeploymentsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsUpdatePollerResponse contains the response from method Deployments.Update.
func (DeploymentsUpdatePollerResponse) PollUntilDone ¶
func (l DeploymentsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (DeploymentsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*DeploymentsUpdatePollerResponse) Resume ¶
func (l *DeploymentsUpdatePollerResponse) Resume(ctx context.Context, client *DeploymentsClient, token string) error
Resume rehydrates a DeploymentsUpdatePollerResponse from the provided client and resume token.
type DeploymentsUpdateResponse ¶
type DeploymentsUpdateResponse struct { DeploymentsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
DeploymentsUpdateResponse contains the response from method Deployments.Update.
type DeploymentsUpdateResult ¶
type DeploymentsUpdateResult struct {
DeploymentResource
}
DeploymentsUpdateResult contains the result from method Deployments.Update.
type DiagnosticParameters ¶ added in v0.2.0
type DiagnosticParameters struct { // App instance name AppInstance *string `json:"appInstance,omitempty"` // Duration of your JFR. 1 min can be represented by 1m or 60s. Duration *string `json:"duration,omitempty"` // Your target file path in your own BYOS FilePath *string `json:"filePath,omitempty"` }
DiagnosticParameters - Diagnostic parameters of diagnostic operations
type Error ¶
type Error struct { // The code of error. Code *string `json:"code,omitempty"` // The message of error. Message *string `json:"message,omitempty"` }
Error - The error code compose of code and message.
type GitPatternRepository ¶
type GitPatternRepository struct { // REQUIRED; Name of the repository Name *string `json:"name,omitempty"` // REQUIRED; URI of the repository URI *string `json:"uri,omitempty"` // Public sshKey of git repository. HostKey *string `json:"hostKey,omitempty"` // SshKey algorithm of git repository. HostKeyAlgorithm *string `json:"hostKeyAlgorithm,omitempty"` // Label of the repository Label *string `json:"label,omitempty"` // Password of git repository basic auth. Password *string `json:"password,omitempty"` // Collection of pattern of the repository Pattern []*string `json:"pattern,omitempty"` // Private sshKey algorithm of git repository. PrivateKey *string `json:"privateKey,omitempty"` // Searching path of the repository SearchPaths []*string `json:"searchPaths,omitempty"` // Strict host key checking or not. StrictHostKeyChecking *bool `json:"strictHostKeyChecking,omitempty"` // Username of git repository basic auth. Username *string `json:"username,omitempty"` }
GitPatternRepository - Git repository property payload
func (GitPatternRepository) MarshalJSON ¶
func (g GitPatternRepository) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type GitPatternRepository.
type ImageRegistryCredential ¶
type ImageRegistryCredential struct { // The password of the image registry credential Password *string `json:"password,omitempty"` // The username of the image registry credential Username *string `json:"username,omitempty"` }
ImageRegistryCredential - Credential of the image registry
type KeyVaultCertificateProperties ¶ added in v0.2.0
type KeyVaultCertificateProperties struct { CertificateProperties // REQUIRED; The certificate name of key vault. KeyVaultCertName *string `json:"keyVaultCertName,omitempty"` // REQUIRED; The vault uri of user key vault. VaultURI *string `json:"vaultUri,omitempty"` // The certificate version of key vault. CertVersion *string `json:"certVersion,omitempty"` // Optional. If set to true, it will not import private key from key vault. ExcludePrivateKey *bool `json:"excludePrivateKey,omitempty"` }
KeyVaultCertificateProperties - Properties of certificate imported from key vault.
func (KeyVaultCertificateProperties) MarshalJSON ¶ added in v0.2.0
func (k KeyVaultCertificateProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type KeyVaultCertificateProperties.
func (*KeyVaultCertificateProperties) UnmarshalJSON ¶ added in v0.2.0
func (k *KeyVaultCertificateProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultCertificateProperties.
type LoadedCertificate ¶ added in v0.2.0
type LoadedCertificate struct { // REQUIRED; Resource Id of loaded certificate ResourceID *string `json:"resourceId,omitempty"` // Indicate whether the certificate will be loaded into default trust store, only work for Java runtime. LoadTrustStore *bool `json:"loadTrustStore,omitempty"` }
LoadedCertificate - Loaded certificate payload
type LogFileURLResponse ¶
type LogFileURLResponse struct { // REQUIRED; URL of the log file URL *string `json:"url,omitempty"` }
LogFileURLResponse - Log file URL payload
type LogSpecification ¶
type LogSpecification struct { // Blob duration of the log BlobDuration *string `json:"blobDuration,omitempty"` // Localized friendly display name of the log DisplayName *string `json:"displayName,omitempty"` // Name of the log Name *string `json:"name,omitempty"` }
LogSpecification - Specifications of the Log for Azure Monitoring
type ManagedIdentityProperties ¶
type ManagedIdentityProperties struct { // Principal Id PrincipalID *string `json:"principalId,omitempty"` // Tenant Id TenantID *string `json:"tenantId,omitempty"` // Type of the managed identity Type *ManagedIdentityType `json:"type,omitempty"` }
ManagedIdentityProperties - Managed identity properties retrieved from ARM request headers.
type ManagedIdentityType ¶
type ManagedIdentityType string
ManagedIdentityType - Type of the managed identity
const ( ManagedIdentityTypeNone ManagedIdentityType = "None" ManagedIdentityTypeSystemAssigned ManagedIdentityType = "SystemAssigned" ManagedIdentityTypeSystemAssignedUserAssigned ManagedIdentityType = "SystemAssigned,UserAssigned" ManagedIdentityTypeUserAssigned ManagedIdentityType = "UserAssigned" )
func PossibleManagedIdentityTypeValues ¶
func PossibleManagedIdentityTypeValues() []ManagedIdentityType
PossibleManagedIdentityTypeValues returns the possible values for the ManagedIdentityType const type.
func (ManagedIdentityType) ToPtr ¶
func (c ManagedIdentityType) ToPtr() *ManagedIdentityType
ToPtr returns a *ManagedIdentityType pointing to the current value.
type MetricDimension ¶
type MetricDimension struct { // Localized friendly display name of the dimension DisplayName *string `json:"displayName,omitempty"` // Name of the dimension Name *string `json:"name,omitempty"` // Whether this dimension should be included for the Shoebox export scenario ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"` }
MetricDimension - Specifications of the Dimension of metrics
type MetricSpecification ¶
type MetricSpecification struct { // Only provide one value for this field. Valid values: Average, Minimum, Maximum, Total, Count. AggregationType *string `json:"aggregationType,omitempty"` // Name of the metric category that the metric belongs to. A metric can only belong to a single category. Category *string `json:"category,omitempty"` // Dimensions of the metric Dimensions []*MetricDimension `json:"dimensions,omitempty"` // Localized friendly description of the metric DisplayDescription *string `json:"displayDescription,omitempty"` // Localized friendly display name of the metric DisplayName *string `json:"displayName,omitempty"` // Optional. If set to true, then zero will be returned for time duration where no metric is emitted/published. FillGapWithZero *bool `json:"fillGapWithZero,omitempty"` // Name of the metric Name *string `json:"name,omitempty"` // Name of the MDM namespace. Optional. SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"` // Supported aggregation types SupportedAggregationTypes []*string `json:"supportedAggregationTypes,omitempty"` // Supported time grain types SupportedTimeGrainTypes []*string `json:"supportedTimeGrainTypes,omitempty"` // Unit that makes sense for the metric Unit *string `json:"unit,omitempty"` }
MetricSpecification - Specifications of the Metrics for Azure Monitoring
func (MetricSpecification) MarshalJSON ¶
func (m MetricSpecification) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MetricSpecification.
type MonitoringSettingProperties ¶
type MonitoringSettingProperties struct { // Indicates the versions of application insight agent AppInsightsAgentVersions *ApplicationInsightsAgentVersions `json:"appInsightsAgentVersions,omitempty"` // Target application insight instrumentation key, null or whitespace include empty will disable monitoringSettings AppInsightsInstrumentationKey *string `json:"appInsightsInstrumentationKey,omitempty"` // Indicates the sampling rate of application insight agent, should be in range [0.0, 100.0] AppInsightsSamplingRate *float64 `json:"appInsightsSamplingRate,omitempty"` // Error when apply Monitoring Setting changes. Error *Error `json:"error,omitempty"` // Indicates whether enable the trace functionality, which will be deprecated since api version 2020-11-01-preview. Please leverage appInsightsInstrumentationKey // to indicate if monitoringSettings enabled // or not TraceEnabled *bool `json:"traceEnabled,omitempty"` // READ-ONLY; State of the Monitoring Setting. ProvisioningState *MonitoringSettingState `json:"provisioningState,omitempty" azure:"ro"` }
MonitoringSettingProperties - Monitoring Setting properties payload
type MonitoringSettingResource ¶
type MonitoringSettingResource struct { ProxyResource // Properties of the Monitoring Setting resource Properties *MonitoringSettingProperties `json:"properties,omitempty"` }
MonitoringSettingResource - Monitoring Setting resource
func (MonitoringSettingResource) MarshalJSON ¶
func (m MonitoringSettingResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type MonitoringSettingResource.
func (*MonitoringSettingResource) UnmarshalJSON ¶ added in v0.2.0
func (m *MonitoringSettingResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type MonitoringSettingResource.
type MonitoringSettingState ¶
type MonitoringSettingState string
MonitoringSettingState - State of the Monitoring Setting.
const ( MonitoringSettingStateFailed MonitoringSettingState = "Failed" MonitoringSettingStateNotAvailable MonitoringSettingState = "NotAvailable" MonitoringSettingStateSucceeded MonitoringSettingState = "Succeeded" MonitoringSettingStateUpdating MonitoringSettingState = "Updating" )
func PossibleMonitoringSettingStateValues ¶
func PossibleMonitoringSettingStateValues() []MonitoringSettingState
PossibleMonitoringSettingStateValues returns the possible values for the MonitoringSettingState const type.
func (MonitoringSettingState) ToPtr ¶
func (c MonitoringSettingState) ToPtr() *MonitoringSettingState
ToPtr returns a *MonitoringSettingState pointing to the current value.
type MonitoringSettingsBeginUpdatePatchOptions ¶
type MonitoringSettingsBeginUpdatePatchOptions struct { }
MonitoringSettingsBeginUpdatePatchOptions contains the optional parameters for the MonitoringSettings.BeginUpdatePatch method.
type MonitoringSettingsBeginUpdatePutOptions ¶
type MonitoringSettingsBeginUpdatePutOptions struct { }
MonitoringSettingsBeginUpdatePutOptions contains the optional parameters for the MonitoringSettings.BeginUpdatePut method.
type MonitoringSettingsClient ¶
type MonitoringSettingsClient struct {
// contains filtered or unexported fields
}
MonitoringSettingsClient contains the methods for the MonitoringSettings group. Don't use this type directly, use NewMonitoringSettingsClient() instead.
func NewMonitoringSettingsClient ¶
func NewMonitoringSettingsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *MonitoringSettingsClient
NewMonitoringSettingsClient creates a new instance of MonitoringSettingsClient with the specified values.
func (*MonitoringSettingsClient) BeginUpdatePatch ¶
func (client *MonitoringSettingsClient) BeginUpdatePatch(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource, options *MonitoringSettingsBeginUpdatePatchOptions) (MonitoringSettingsUpdatePatchPollerResponse, error)
BeginUpdatePatch - Update the Monitoring Setting. If the operation fails it returns the *CloudError error type.
func (*MonitoringSettingsClient) BeginUpdatePut ¶
func (client *MonitoringSettingsClient) BeginUpdatePut(ctx context.Context, resourceGroupName string, serviceName string, monitoringSettingResource MonitoringSettingResource, options *MonitoringSettingsBeginUpdatePutOptions) (MonitoringSettingsUpdatePutPollerResponse, error)
BeginUpdatePut - Update the Monitoring Setting. If the operation fails it returns the *CloudError error type.
func (*MonitoringSettingsClient) Get ¶
func (client *MonitoringSettingsClient) Get(ctx context.Context, resourceGroupName string, serviceName string, options *MonitoringSettingsGetOptions) (MonitoringSettingsGetResponse, error)
Get - Get the Monitoring Setting and its properties. If the operation fails it returns the *CloudError error type.
type MonitoringSettingsGetOptions ¶
type MonitoringSettingsGetOptions struct { }
MonitoringSettingsGetOptions contains the optional parameters for the MonitoringSettings.Get method.
type MonitoringSettingsGetResponse ¶
type MonitoringSettingsGetResponse struct { MonitoringSettingsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
MonitoringSettingsGetResponse contains the response from method MonitoringSettings.Get.
type MonitoringSettingsGetResult ¶
type MonitoringSettingsGetResult struct {
MonitoringSettingResource
}
MonitoringSettingsGetResult contains the result from method MonitoringSettings.Get.
type MonitoringSettingsUpdatePatchPoller ¶
type MonitoringSettingsUpdatePatchPoller struct {
// contains filtered or unexported fields
}
MonitoringSettingsUpdatePatchPoller provides polling facilities until the operation reaches a terminal state.
func (*MonitoringSettingsUpdatePatchPoller) Done ¶
func (p *MonitoringSettingsUpdatePatchPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*MonitoringSettingsUpdatePatchPoller) FinalResponse ¶
func (p *MonitoringSettingsUpdatePatchPoller) FinalResponse(ctx context.Context) (MonitoringSettingsUpdatePatchResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MonitoringSettingsUpdatePatchResponse will be returned.
func (*MonitoringSettingsUpdatePatchPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*MonitoringSettingsUpdatePatchPoller) ResumeToken ¶
func (p *MonitoringSettingsUpdatePatchPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type MonitoringSettingsUpdatePatchPollerResponse ¶
type MonitoringSettingsUpdatePatchPollerResponse struct { // Poller contains an initialized poller. Poller *MonitoringSettingsUpdatePatchPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
MonitoringSettingsUpdatePatchPollerResponse contains the response from method MonitoringSettings.UpdatePatch.
func (MonitoringSettingsUpdatePatchPollerResponse) PollUntilDone ¶
func (l MonitoringSettingsUpdatePatchPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (MonitoringSettingsUpdatePatchResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*MonitoringSettingsUpdatePatchPollerResponse) Resume ¶
func (l *MonitoringSettingsUpdatePatchPollerResponse) Resume(ctx context.Context, client *MonitoringSettingsClient, token string) error
Resume rehydrates a MonitoringSettingsUpdatePatchPollerResponse from the provided client and resume token.
type MonitoringSettingsUpdatePatchResponse ¶
type MonitoringSettingsUpdatePatchResponse struct { MonitoringSettingsUpdatePatchResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
MonitoringSettingsUpdatePatchResponse contains the response from method MonitoringSettings.UpdatePatch.
type MonitoringSettingsUpdatePatchResult ¶
type MonitoringSettingsUpdatePatchResult struct {
MonitoringSettingResource
}
MonitoringSettingsUpdatePatchResult contains the result from method MonitoringSettings.UpdatePatch.
type MonitoringSettingsUpdatePutPoller ¶
type MonitoringSettingsUpdatePutPoller struct {
// contains filtered or unexported fields
}
MonitoringSettingsUpdatePutPoller provides polling facilities until the operation reaches a terminal state.
func (*MonitoringSettingsUpdatePutPoller) Done ¶
func (p *MonitoringSettingsUpdatePutPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*MonitoringSettingsUpdatePutPoller) FinalResponse ¶
func (p *MonitoringSettingsUpdatePutPoller) FinalResponse(ctx context.Context) (MonitoringSettingsUpdatePutResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MonitoringSettingsUpdatePutResponse will be returned.
func (*MonitoringSettingsUpdatePutPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*MonitoringSettingsUpdatePutPoller) ResumeToken ¶
func (p *MonitoringSettingsUpdatePutPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type MonitoringSettingsUpdatePutPollerResponse ¶
type MonitoringSettingsUpdatePutPollerResponse struct { // Poller contains an initialized poller. Poller *MonitoringSettingsUpdatePutPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
MonitoringSettingsUpdatePutPollerResponse contains the response from method MonitoringSettings.UpdatePut.
func (MonitoringSettingsUpdatePutPollerResponse) PollUntilDone ¶
func (l MonitoringSettingsUpdatePutPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (MonitoringSettingsUpdatePutResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*MonitoringSettingsUpdatePutPollerResponse) Resume ¶
func (l *MonitoringSettingsUpdatePutPollerResponse) Resume(ctx context.Context, client *MonitoringSettingsClient, token string) error
Resume rehydrates a MonitoringSettingsUpdatePutPollerResponse from the provided client and resume token.
type MonitoringSettingsUpdatePutResponse ¶
type MonitoringSettingsUpdatePutResponse struct { MonitoringSettingsUpdatePutResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
MonitoringSettingsUpdatePutResponse contains the response from method MonitoringSettings.UpdatePut.
type MonitoringSettingsUpdatePutResult ¶
type MonitoringSettingsUpdatePutResult struct {
MonitoringSettingResource
}
MonitoringSettingsUpdatePutResult contains the result from method MonitoringSettings.UpdatePut.
type NameAvailability ¶
type NameAvailability struct { // Message why the name is not available Message *string `json:"message,omitempty"` // Indicates whether the name is available NameAvailable *bool `json:"nameAvailable,omitempty"` // Reason why the name is not available Reason *string `json:"reason,omitempty"` }
NameAvailability - Name availability result payload
type NameAvailabilityParameters ¶
type NameAvailabilityParameters struct { // REQUIRED; Name to be checked Name *string `json:"name,omitempty"` // REQUIRED; Type of the resource to check name availability Type *string `json:"type,omitempty"` }
NameAvailabilityParameters - Name availability parameters payload
type NetworkProfile ¶
type NetworkProfile struct { // Name of the resource group containing network resources of Azure Spring Cloud Apps AppNetworkResourceGroup *string `json:"appNetworkResourceGroup,omitempty"` // Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps AppSubnetID *string `json:"appSubnetId,omitempty"` // Azure Spring Cloud service reserved CIDR ServiceCidr *string `json:"serviceCidr,omitempty"` // Name of the resource group containing network resources of Azure Spring Cloud Service Runtime ServiceRuntimeNetworkResourceGroup *string `json:"serviceRuntimeNetworkResourceGroup,omitempty"` // Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime ServiceRuntimeSubnetID *string `json:"serviceRuntimeSubnetId,omitempty"` // READ-ONLY; Desired outbound IP resources for Azure Spring Cloud instance. OutboundIPs *NetworkProfileOutboundIPs `json:"outboundIPs,omitempty" azure:"ro"` // READ-ONLY; Required inbound or outbound traffics for Azure Spring Cloud instance. RequiredTraffics []*RequiredTraffic `json:"requiredTraffics,omitempty" azure:"ro"` }
NetworkProfile - Service network profile payload
func (NetworkProfile) MarshalJSON ¶
func (n NetworkProfile) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NetworkProfile.
type NetworkProfileOutboundIPs ¶
type NetworkProfileOutboundIPs struct { // READ-ONLY; A list of public IP addresses. PublicIPs []*string `json:"publicIPs,omitempty" azure:"ro"` }
NetworkProfileOutboundIPs - Desired outbound IP resources for Azure Spring Cloud instance.
func (NetworkProfileOutboundIPs) MarshalJSON ¶
func (n NetworkProfileOutboundIPs) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NetworkProfileOutboundIPs.
type OperationDetail ¶
type OperationDetail struct { // Display of the operation Display *OperationDisplay `json:"display,omitempty"` // Indicates whether the operation is a data action IsDataAction *bool `json:"isDataAction,omitempty"` // Name of the operation Name *string `json:"name,omitempty"` // Origin of the operation Origin *string `json:"origin,omitempty"` // Properties of the operation Properties *OperationProperties `json:"properties,omitempty"` }
OperationDetail - Operation detail payload
type OperationDisplay ¶
type OperationDisplay struct { // Localized friendly description for the operation Description *string `json:"description,omitempty"` // Localized friendly name for the operation Operation *string `json:"operation,omitempty"` // Resource provider of the operation Provider *string `json:"provider,omitempty"` // Resource of the operation Resource *string `json:"resource,omitempty"` }
OperationDisplay - Operation display payload
type OperationProperties ¶
type OperationProperties struct { // Service specifications of the operation ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"` }
OperationProperties - Extra Operation properties
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *OperationsClient
NewOperationsClient creates a new instance of OperationsClient with the specified values.
func (*OperationsClient) List ¶
func (client *OperationsClient) List(options *OperationsListOptions) *OperationsListPager
List - Lists all of the available REST API operations of the Microsoft.AppPlatform provider. If the operation fails it returns the *CloudError error type.
type OperationsListOptions ¶
type OperationsListOptions struct { }
OperationsListOptions contains the optional parameters for the Operations.List method.
type OperationsListPager ¶
type OperationsListPager struct {
// contains filtered or unexported fields
}
OperationsListPager provides operations for iterating over paged responses.
func (*OperationsListPager) Err ¶
func (p *OperationsListPager) Err() error
Err returns the last error encountered while paging.
func (*OperationsListPager) NextPage ¶
func (p *OperationsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*OperationsListPager) PageResponse ¶
func (p *OperationsListPager) PageResponse() OperationsListResponse
PageResponse returns the current OperationsListResponse page.
type OperationsListResponse ¶
type OperationsListResponse struct { OperationsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OperationsListResponse contains the response from method Operations.List.
type OperationsListResult ¶
type OperationsListResult struct {
AvailableOperations
}
OperationsListResult contains the result from method Operations.List.
type PersistentDisk ¶
type PersistentDisk struct { // Mount path of the persistent disk MountPath *string `json:"mountPath,omitempty"` // Size of the persistent disk in GB SizeInGB *int32 `json:"sizeInGB,omitempty"` // READ-ONLY; Size of the used persistent disk in GB UsedInGB *int32 `json:"usedInGB,omitempty" azure:"ro"` }
PersistentDisk - Persistent disk payload
type PowerState ¶ added in v0.2.0
type PowerState string
PowerState - Power state of the Service
const ( PowerStateRunning PowerState = "Running" PowerStateStopped PowerState = "Stopped" )
func PossiblePowerStateValues ¶ added in v0.2.0
func PossiblePowerStateValues() []PowerState
PossiblePowerStateValues returns the possible values for the PowerState const type.
func (PowerState) ToPtr ¶ added in v0.2.0
func (c PowerState) ToPtr() *PowerState
ToPtr returns a *PowerState pointing to the current value.
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState - Provisioning state of the Service
const ( ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateMoveFailed ProvisioningState = "MoveFailed" ProvisioningStateMoved ProvisioningState = "Moved" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func (ProvisioningState) ToPtr ¶
func (c ProvisioningState) ToPtr() *ProvisioningState
ToPtr returns a *ProvisioningState pointing to the current value.
type ProxyResource ¶
type ProxyResource struct {
Resource
}
ProxyResource - The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.
type RegenerateTestKeyRequestPayload ¶
type RegenerateTestKeyRequestPayload struct { // REQUIRED; Type of the test key KeyType *TestKeyType `json:"keyType,omitempty"` }
RegenerateTestKeyRequestPayload - Regenerate test key request payload
type RequiredTraffic ¶
type RequiredTraffic struct { // READ-ONLY; The direction of required traffic Direction *TrafficDirection `json:"direction,omitempty" azure:"ro"` // READ-ONLY; The FQDN list of required traffic Fqdns []*string `json:"fqdns,omitempty" azure:"ro"` // READ-ONLY; The ip list of required traffic IPs []*string `json:"ips,omitempty" azure:"ro"` // READ-ONLY; The port of required traffic Port *int32 `json:"port,omitempty" azure:"ro"` // READ-ONLY; The protocol of required traffic Protocol *string `json:"protocol,omitempty" azure:"ro"` }
RequiredTraffic - Required inbound or outbound traffic for Azure Spring Cloud instance.
func (RequiredTraffic) MarshalJSON ¶
func (r RequiredTraffic) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RequiredTraffic.
type Resource ¶
type Resource struct { // READ-ONLY; Fully qualified resource Id for the resource. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
Resource - The core properties of ARM resources.
func (Resource) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Resource.
func (*Resource) UnmarshalJSON ¶ added in v0.2.0
UnmarshalJSON implements the json.Unmarshaller interface for type Resource.
type ResourceRequests ¶
type ResourceRequests struct { // Required CPU. 1 core can be represented by 1 or 1000m. This should be 500m or 1 for Basic tier, and {500m, 1, 2, 3, 4} for Standard tier. CPU *string `json:"cpu,omitempty"` // Required memory. 1 GB can be represented by 1Gi or 1024Mi. This should be {512Mi, 1Gi, 2Gi} for Basic tier, and {512Mi, 1Gi, 2Gi, …, 8Gi} for Standard // tier. Memory *string `json:"memory,omitempty"` }
ResourceRequests - Deployment resource request payload
type ResourceSKU ¶
type ResourceSKU struct { // Gets the capacity of SKU. Capacity *SKUCapacity `json:"capacity,omitempty"` // Gets a list of locations and availability zones in those locations where the SKU is available. LocationInfo []*ResourceSKULocationInfo `json:"locationInfo,omitempty"` // Gets the set of locations that the SKU is available. Locations []*string `json:"locations,omitempty"` // Gets the name of SKU. Name *string `json:"name,omitempty"` // Gets the type of resource the SKU applies to. ResourceType *string `json:"resourceType,omitempty"` // Gets the restrictions because of which SKU cannot be used. This is empty if there are no restrictions. Restrictions []*ResourceSKURestrictions `json:"restrictions,omitempty"` // Gets the tier of SKU. Tier *string `json:"tier,omitempty"` }
ResourceSKU - Describes an available Azure Spring Cloud SKU.
func (ResourceSKU) MarshalJSON ¶
func (r ResourceSKU) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceSKU.
type ResourceSKUCapabilities ¶
type ResourceSKUCollection ¶
type ResourceSKUCollection struct { // URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. NextLink *string `json:"nextLink,omitempty"` // Collection of resource SKU Value []*ResourceSKU `json:"value,omitempty"` }
ResourceSKUCollection - Object that includes an array of Azure Spring Cloud SKU and a possible link for next set
func (ResourceSKUCollection) MarshalJSON ¶
func (r ResourceSKUCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceSKUCollection.
type ResourceSKULocationInfo ¶
type ResourceSKULocationInfo struct { // Gets location of the SKU Location *string `json:"location,omitempty"` // Gets details of capabilities available to a SKU in specific zones. ZoneDetails []*ResourceSKUZoneDetails `json:"zoneDetails,omitempty"` // Gets list of availability zones where the SKU is supported. Zones []*string `json:"zones,omitempty"` }
ResourceSKULocationInfo - Locations and availability zones where the SKU is available
func (ResourceSKULocationInfo) MarshalJSON ¶
func (r ResourceSKULocationInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceSKULocationInfo.
type ResourceSKURestrictionInfo ¶
type ResourceSKURestrictionInfo struct { // Gets locations where the SKU is restricted Locations []*string `json:"locations,omitempty"` // Gets list of availability zones where the SKU is restricted. Zones []*string `json:"zones,omitempty"` }
ResourceSKURestrictionInfo - Information about the restriction where the SKU cannot be used
func (ResourceSKURestrictionInfo) MarshalJSON ¶
func (r ResourceSKURestrictionInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceSKURestrictionInfo.
type ResourceSKURestrictions ¶
type ResourceSKURestrictions struct { // Gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription' ReasonCode *ResourceSKURestrictionsReasonCode `json:"reasonCode,omitempty"` // Gets the information about the restriction where the SKU cannot be used. RestrictionInfo *ResourceSKURestrictionInfo `json:"restrictionInfo,omitempty"` // Gets the type of restrictions. Possible values include: 'Location', 'Zone' Type *ResourceSKURestrictionsType `json:"type,omitempty"` // Gets the value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. Values []*string `json:"values,omitempty"` }
ResourceSKURestrictions - Restrictions where the SKU cannot be used
func (ResourceSKURestrictions) MarshalJSON ¶
func (r ResourceSKURestrictions) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceSKURestrictions.
type ResourceSKURestrictionsReasonCode ¶
type ResourceSKURestrictionsReasonCode string
ResourceSKURestrictionsReasonCode - Gets the reason for restriction. Possible values include: 'QuotaId', 'NotAvailableForSubscription'
const ( ResourceSKURestrictionsReasonCodeNotAvailableForSubscription ResourceSKURestrictionsReasonCode = "NotAvailableForSubscription" ResourceSKURestrictionsReasonCodeQuotaID ResourceSKURestrictionsReasonCode = "QuotaId" )
func PossibleResourceSKURestrictionsReasonCodeValues ¶
func PossibleResourceSKURestrictionsReasonCodeValues() []ResourceSKURestrictionsReasonCode
PossibleResourceSKURestrictionsReasonCodeValues returns the possible values for the ResourceSKURestrictionsReasonCode const type.
func (ResourceSKURestrictionsReasonCode) ToPtr ¶
func (c ResourceSKURestrictionsReasonCode) ToPtr() *ResourceSKURestrictionsReasonCode
ToPtr returns a *ResourceSKURestrictionsReasonCode pointing to the current value.
type ResourceSKURestrictionsType ¶
type ResourceSKURestrictionsType string
ResourceSKURestrictionsType - Gets the type of restrictions. Possible values include: 'Location', 'Zone'
const ( ResourceSKURestrictionsTypeLocation ResourceSKURestrictionsType = "Location" ResourceSKURestrictionsTypeZone ResourceSKURestrictionsType = "Zone" )
func PossibleResourceSKURestrictionsTypeValues ¶
func PossibleResourceSKURestrictionsTypeValues() []ResourceSKURestrictionsType
PossibleResourceSKURestrictionsTypeValues returns the possible values for the ResourceSKURestrictionsType const type.
func (ResourceSKURestrictionsType) ToPtr ¶
func (c ResourceSKURestrictionsType) ToPtr() *ResourceSKURestrictionsType
ToPtr returns a *ResourceSKURestrictionsType pointing to the current value.
type ResourceSKUZoneDetails ¶
type ResourceSKUZoneDetails struct { // Gets a list of capabilities that are available for the SKU in the specified list of zones. Capabilities []*ResourceSKUCapabilities `json:"capabilities,omitempty"` // Gets the set of zones that the SKU is available in with the specified capabilities. Name []*string `json:"name,omitempty"` }
ResourceSKUZoneDetails - Details of capabilities available to a SKU in specific zones
func (ResourceSKUZoneDetails) MarshalJSON ¶
func (r ResourceSKUZoneDetails) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ResourceSKUZoneDetails.
type ResourceUploadDefinition ¶
type ResourceUploadDefinition struct { // Source relative path RelativePath *string `json:"relativePath,omitempty"` // Upload URL UploadURL *string `json:"uploadUrl,omitempty"` }
ResourceUploadDefinition - Resource upload definition payload
type RuntimeVersion ¶
type RuntimeVersion string
RuntimeVersion - Runtime version
const ( RuntimeVersionJava11 RuntimeVersion = "Java_11" RuntimeVersionJava8 RuntimeVersion = "Java_8" RuntimeVersionNetCore31 RuntimeVersion = "NetCore_31" )
func PossibleRuntimeVersionValues ¶
func PossibleRuntimeVersionValues() []RuntimeVersion
PossibleRuntimeVersionValues returns the possible values for the RuntimeVersion const type.
func (RuntimeVersion) ToPtr ¶
func (c RuntimeVersion) ToPtr() *RuntimeVersion
ToPtr returns a *RuntimeVersion pointing to the current value.
type RuntimeVersionsClient ¶
type RuntimeVersionsClient struct {
// contains filtered or unexported fields
}
RuntimeVersionsClient contains the methods for the RuntimeVersions group. Don't use this type directly, use NewRuntimeVersionsClient() instead.
func NewRuntimeVersionsClient ¶
func NewRuntimeVersionsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *RuntimeVersionsClient
NewRuntimeVersionsClient creates a new instance of RuntimeVersionsClient with the specified values.
func (*RuntimeVersionsClient) ListRuntimeVersions ¶
func (client *RuntimeVersionsClient) ListRuntimeVersions(ctx context.Context, options *RuntimeVersionsListRuntimeVersionsOptions) (RuntimeVersionsListRuntimeVersionsResponse, error)
ListRuntimeVersions - Lists all of the available runtime versions supported by Microsoft.AppPlatform provider. If the operation fails it returns the *CloudError error type.
type RuntimeVersionsListRuntimeVersionsOptions ¶
type RuntimeVersionsListRuntimeVersionsOptions struct { }
RuntimeVersionsListRuntimeVersionsOptions contains the optional parameters for the RuntimeVersions.ListRuntimeVersions method.
type RuntimeVersionsListRuntimeVersionsResponse ¶
type RuntimeVersionsListRuntimeVersionsResponse struct { RuntimeVersionsListRuntimeVersionsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RuntimeVersionsListRuntimeVersionsResponse contains the response from method RuntimeVersions.ListRuntimeVersions.
type RuntimeVersionsListRuntimeVersionsResult ¶
type RuntimeVersionsListRuntimeVersionsResult struct {
AvailableRuntimeVersions
}
RuntimeVersionsListRuntimeVersionsResult contains the result from method RuntimeVersions.ListRuntimeVersions.
type SKU ¶
type SKU struct { // Current capacity of the target resource Capacity *int32 `json:"capacity,omitempty"` // Name of the Sku Name *string `json:"name,omitempty"` // Tier of the Sku Tier *string `json:"tier,omitempty"` }
SKU - Sku of Azure Spring Cloud
type SKUCapacity ¶
type SKUCapacity struct { // REQUIRED; Gets or sets the minimum. Minimum *int32 `json:"minimum,omitempty"` // Gets or sets the default. Default *int32 `json:"default,omitempty"` // Gets or sets the maximum. Maximum *int32 `json:"maximum,omitempty"` // Gets or sets the type of the scale. ScaleType *SKUScaleType `json:"scaleType,omitempty"` }
SKUCapacity - The SKU capacity
type SKUScaleType ¶
type SKUScaleType string
SKUScaleType - Gets or sets the type of the scale.
const ( SKUScaleTypeAutomatic SKUScaleType = "Automatic" SKUScaleTypeManual SKUScaleType = "Manual" SKUScaleTypeNone SKUScaleType = "None" )
func PossibleSKUScaleTypeValues ¶
func PossibleSKUScaleTypeValues() []SKUScaleType
PossibleSKUScaleTypeValues returns the possible values for the SKUScaleType const type.
func (SKUScaleType) ToPtr ¶
func (c SKUScaleType) ToPtr() *SKUScaleType
ToPtr returns a *SKUScaleType pointing to the current value.
type SKUsClient ¶
type SKUsClient struct {
// contains filtered or unexported fields
}
SKUsClient contains the methods for the SKUs group. Don't use this type directly, use NewSKUsClient() instead.
func NewSKUsClient ¶
func NewSKUsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *SKUsClient
NewSKUsClient creates a new instance of SKUsClient with the specified values.
func (*SKUsClient) List ¶
func (client *SKUsClient) List(options *SKUsListOptions) *SKUsListPager
List - Lists all of the available skus of the Microsoft.AppPlatform provider. If the operation fails it returns the *CloudError error type.
type SKUsListOptions ¶
type SKUsListOptions struct { }
SKUsListOptions contains the optional parameters for the SKUs.List method.
type SKUsListPager ¶
type SKUsListPager struct {
// contains filtered or unexported fields
}
SKUsListPager provides operations for iterating over paged responses.
func (*SKUsListPager) Err ¶
func (p *SKUsListPager) Err() error
Err returns the last error encountered while paging.
func (*SKUsListPager) NextPage ¶
func (p *SKUsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*SKUsListPager) PageResponse ¶
func (p *SKUsListPager) PageResponse() SKUsListResponse
PageResponse returns the current SKUsListResponse page.
type SKUsListResponse ¶
type SKUsListResponse struct { SKUsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
SKUsListResponse contains the response from method SKUs.List.
type SKUsListResult ¶
type SKUsListResult struct {
ResourceSKUCollection
}
SKUsListResult contains the result from method SKUs.List.
type ServiceResource ¶
type ServiceResource struct { TrackedResource // Properties of the Service resource Properties *ClusterResourceProperties `json:"properties,omitempty"` // Sku of the Service resource SKU *SKU `json:"sku,omitempty"` }
ServiceResource - Service resource
func (ServiceResource) MarshalJSON ¶
func (s ServiceResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServiceResource.
func (*ServiceResource) UnmarshalJSON ¶ added in v0.2.0
func (s *ServiceResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ServiceResource.
type ServiceResourceList ¶
type ServiceResourceList struct { // URL client should use to fetch the next page (per server side paging). It's null for now, added for future use. NextLink *string `json:"nextLink,omitempty"` // Collection of Service resources Value []*ServiceResource `json:"value,omitempty"` }
ServiceResourceList - Object that includes an array of Service resources and a possible link for next set
func (ServiceResourceList) MarshalJSON ¶
func (s ServiceResourceList) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServiceResourceList.
type ServiceSpecification ¶
type ServiceSpecification struct { // Specifications of the Log for Azure Monitoring LogSpecifications []*LogSpecification `json:"logSpecifications,omitempty"` // Specifications of the Metrics for Azure Monitoring MetricSpecifications []*MetricSpecification `json:"metricSpecifications,omitempty"` }
ServiceSpecification - Service specification payload
func (ServiceSpecification) MarshalJSON ¶
func (s ServiceSpecification) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ServiceSpecification.
type ServicesBeginCreateOrUpdateOptions ¶
type ServicesBeginCreateOrUpdateOptions struct { }
ServicesBeginCreateOrUpdateOptions contains the optional parameters for the Services.BeginCreateOrUpdate method.
type ServicesBeginDeleteOptions ¶
type ServicesBeginDeleteOptions struct { }
ServicesBeginDeleteOptions contains the optional parameters for the Services.BeginDelete method.
type ServicesBeginStartOptions ¶ added in v0.2.0
type ServicesBeginStartOptions struct { }
ServicesBeginStartOptions contains the optional parameters for the Services.BeginStart method.
type ServicesBeginStopOptions ¶ added in v0.2.0
type ServicesBeginStopOptions struct { }
ServicesBeginStopOptions contains the optional parameters for the Services.BeginStop method.
type ServicesBeginUpdateOptions ¶
type ServicesBeginUpdateOptions struct { }
ServicesBeginUpdateOptions contains the optional parameters for the Services.BeginUpdate method.
type ServicesCheckNameAvailabilityOptions ¶
type ServicesCheckNameAvailabilityOptions struct { }
ServicesCheckNameAvailabilityOptions contains the optional parameters for the Services.CheckNameAvailability method.
type ServicesCheckNameAvailabilityResponse ¶
type ServicesCheckNameAvailabilityResponse struct { ServicesCheckNameAvailabilityResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesCheckNameAvailabilityResponse contains the response from method Services.CheckNameAvailability.
type ServicesCheckNameAvailabilityResult ¶
type ServicesCheckNameAvailabilityResult struct {
NameAvailability
}
ServicesCheckNameAvailabilityResult contains the result from method Services.CheckNameAvailability.
type ServicesClient ¶
type ServicesClient struct {
// contains filtered or unexported fields
}
ServicesClient contains the methods for the Services group. Don't use this type directly, use NewServicesClient() instead.
func NewServicesClient ¶
func NewServicesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *ServicesClient
NewServicesClient creates a new instance of ServicesClient with the specified values.
func (*ServicesClient) BeginCreateOrUpdate ¶
func (client *ServicesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, resource ServiceResource, options *ServicesBeginCreateOrUpdateOptions) (ServicesCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Create a new Service or update an exiting Service. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) BeginDelete ¶
func (client *ServicesClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, options *ServicesBeginDeleteOptions) (ServicesDeletePollerResponse, error)
BeginDelete - Operation to delete a Service. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) BeginStart ¶ added in v0.2.0
func (client *ServicesClient) BeginStart(ctx context.Context, resourceGroupName string, serviceName string, options *ServicesBeginStartOptions) (ServicesStartPollerResponse, error)
BeginStart - Start a Service. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) BeginStop ¶ added in v0.2.0
func (client *ServicesClient) BeginStop(ctx context.Context, resourceGroupName string, serviceName string, options *ServicesBeginStopOptions) (ServicesStopPollerResponse, error)
BeginStop - Stop a Service. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) BeginUpdate ¶
func (client *ServicesClient) BeginUpdate(ctx context.Context, resourceGroupName string, serviceName string, resource ServiceResource, options *ServicesBeginUpdateOptions) (ServicesUpdatePollerResponse, error)
BeginUpdate - Operation to update an exiting Service. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) CheckNameAvailability ¶
func (client *ServicesClient) CheckNameAvailability(ctx context.Context, location string, availabilityParameters NameAvailabilityParameters, options *ServicesCheckNameAvailabilityOptions) (ServicesCheckNameAvailabilityResponse, error)
CheckNameAvailability - Checks that the resource name is valid and is not already in use. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) DisableTestEndpoint ¶
func (client *ServicesClient) DisableTestEndpoint(ctx context.Context, resourceGroupName string, serviceName string, options *ServicesDisableTestEndpointOptions) (ServicesDisableTestEndpointResponse, error)
DisableTestEndpoint - Disable test endpoint functionality for a Service. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) EnableTestEndpoint ¶
func (client *ServicesClient) EnableTestEndpoint(ctx context.Context, resourceGroupName string, serviceName string, options *ServicesEnableTestEndpointOptions) (ServicesEnableTestEndpointResponse, error)
EnableTestEndpoint - Enable test endpoint functionality for a Service. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) Get ¶
func (client *ServicesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, options *ServicesGetOptions) (ServicesGetResponse, error)
Get - Get a Service and its properties. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) List ¶
func (client *ServicesClient) List(resourceGroupName string, options *ServicesListOptions) *ServicesListPager
List - Handles requests to list all resources in a resource group. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) ListBySubscription ¶
func (client *ServicesClient) ListBySubscription(options *ServicesListBySubscriptionOptions) *ServicesListBySubscriptionPager
ListBySubscription - Handles requests to list all resources in a subscription. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) ListTestKeys ¶
func (client *ServicesClient) ListTestKeys(ctx context.Context, resourceGroupName string, serviceName string, options *ServicesListTestKeysOptions) (ServicesListTestKeysResponse, error)
ListTestKeys - List test keys for a Service. If the operation fails it returns the *CloudError error type.
func (*ServicesClient) RegenerateTestKey ¶
func (client *ServicesClient) RegenerateTestKey(ctx context.Context, resourceGroupName string, serviceName string, regenerateTestKeyRequest RegenerateTestKeyRequestPayload, options *ServicesRegenerateTestKeyOptions) (ServicesRegenerateTestKeyResponse, error)
RegenerateTestKey - Regenerate a test key for a Service. If the operation fails it returns the *CloudError error type.
type ServicesCreateOrUpdatePoller ¶
type ServicesCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
ServicesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*ServicesCreateOrUpdatePoller) Done ¶
func (p *ServicesCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ServicesCreateOrUpdatePoller) FinalResponse ¶
func (p *ServicesCreateOrUpdatePoller) FinalResponse(ctx context.Context) (ServicesCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServicesCreateOrUpdateResponse will be returned.
func (*ServicesCreateOrUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ServicesCreateOrUpdatePoller) ResumeToken ¶
func (p *ServicesCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ServicesCreateOrUpdatePollerResponse ¶
type ServicesCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *ServicesCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesCreateOrUpdatePollerResponse contains the response from method Services.CreateOrUpdate.
func (ServicesCreateOrUpdatePollerResponse) PollUntilDone ¶
func (l ServicesCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ServicesCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ServicesCreateOrUpdatePollerResponse) Resume ¶
func (l *ServicesCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *ServicesClient, token string) error
Resume rehydrates a ServicesCreateOrUpdatePollerResponse from the provided client and resume token.
type ServicesCreateOrUpdateResponse ¶
type ServicesCreateOrUpdateResponse struct { ServicesCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesCreateOrUpdateResponse contains the response from method Services.CreateOrUpdate.
type ServicesCreateOrUpdateResult ¶
type ServicesCreateOrUpdateResult struct {
ServiceResource
}
ServicesCreateOrUpdateResult contains the result from method Services.CreateOrUpdate.
type ServicesDeletePoller ¶
type ServicesDeletePoller struct {
// contains filtered or unexported fields
}
ServicesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*ServicesDeletePoller) Done ¶
func (p *ServicesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ServicesDeletePoller) FinalResponse ¶
func (p *ServicesDeletePoller) FinalResponse(ctx context.Context) (ServicesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServicesDeleteResponse will be returned.
func (*ServicesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ServicesDeletePoller) ResumeToken ¶
func (p *ServicesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ServicesDeletePollerResponse ¶
type ServicesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *ServicesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesDeletePollerResponse contains the response from method Services.Delete.
func (ServicesDeletePollerResponse) PollUntilDone ¶
func (l ServicesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ServicesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ServicesDeletePollerResponse) Resume ¶
func (l *ServicesDeletePollerResponse) Resume(ctx context.Context, client *ServicesClient, token string) error
Resume rehydrates a ServicesDeletePollerResponse from the provided client and resume token.
type ServicesDeleteResponse ¶
type ServicesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesDeleteResponse contains the response from method Services.Delete.
type ServicesDisableTestEndpointOptions ¶
type ServicesDisableTestEndpointOptions struct { }
ServicesDisableTestEndpointOptions contains the optional parameters for the Services.DisableTestEndpoint method.
type ServicesDisableTestEndpointResponse ¶
type ServicesDisableTestEndpointResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesDisableTestEndpointResponse contains the response from method Services.DisableTestEndpoint.
type ServicesEnableTestEndpointOptions ¶
type ServicesEnableTestEndpointOptions struct { }
ServicesEnableTestEndpointOptions contains the optional parameters for the Services.EnableTestEndpoint method.
type ServicesEnableTestEndpointResponse ¶
type ServicesEnableTestEndpointResponse struct { ServicesEnableTestEndpointResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesEnableTestEndpointResponse contains the response from method Services.EnableTestEndpoint.
type ServicesEnableTestEndpointResult ¶
type ServicesEnableTestEndpointResult struct {
TestKeys
}
ServicesEnableTestEndpointResult contains the result from method Services.EnableTestEndpoint.
type ServicesGetOptions ¶
type ServicesGetOptions struct { }
ServicesGetOptions contains the optional parameters for the Services.Get method.
type ServicesGetResponse ¶
type ServicesGetResponse struct { ServicesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesGetResponse contains the response from method Services.Get.
type ServicesGetResult ¶
type ServicesGetResult struct {
ServiceResource
}
ServicesGetResult contains the result from method Services.Get.
type ServicesListBySubscriptionOptions ¶
type ServicesListBySubscriptionOptions struct { }
ServicesListBySubscriptionOptions contains the optional parameters for the Services.ListBySubscription method.
type ServicesListBySubscriptionPager ¶
type ServicesListBySubscriptionPager struct {
// contains filtered or unexported fields
}
ServicesListBySubscriptionPager provides operations for iterating over paged responses.
func (*ServicesListBySubscriptionPager) Err ¶
func (p *ServicesListBySubscriptionPager) Err() error
Err returns the last error encountered while paging.
func (*ServicesListBySubscriptionPager) NextPage ¶
func (p *ServicesListBySubscriptionPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ServicesListBySubscriptionPager) PageResponse ¶
func (p *ServicesListBySubscriptionPager) PageResponse() ServicesListBySubscriptionResponse
PageResponse returns the current ServicesListBySubscriptionResponse page.
type ServicesListBySubscriptionResponse ¶
type ServicesListBySubscriptionResponse struct { ServicesListBySubscriptionResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesListBySubscriptionResponse contains the response from method Services.ListBySubscription.
type ServicesListBySubscriptionResult ¶
type ServicesListBySubscriptionResult struct {
ServiceResourceList
}
ServicesListBySubscriptionResult contains the result from method Services.ListBySubscription.
type ServicesListOptions ¶
type ServicesListOptions struct { }
ServicesListOptions contains the optional parameters for the Services.List method.
type ServicesListPager ¶
type ServicesListPager struct {
// contains filtered or unexported fields
}
ServicesListPager provides operations for iterating over paged responses.
func (*ServicesListPager) Err ¶
func (p *ServicesListPager) Err() error
Err returns the last error encountered while paging.
func (*ServicesListPager) NextPage ¶
func (p *ServicesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ServicesListPager) PageResponse ¶
func (p *ServicesListPager) PageResponse() ServicesListResponse
PageResponse returns the current ServicesListResponse page.
type ServicesListResponse ¶
type ServicesListResponse struct { ServicesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesListResponse contains the response from method Services.List.
type ServicesListResult ¶
type ServicesListResult struct {
ServiceResourceList
}
ServicesListResult contains the result from method Services.List.
type ServicesListTestKeysOptions ¶
type ServicesListTestKeysOptions struct { }
ServicesListTestKeysOptions contains the optional parameters for the Services.ListTestKeys method.
type ServicesListTestKeysResponse ¶
type ServicesListTestKeysResponse struct { ServicesListTestKeysResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesListTestKeysResponse contains the response from method Services.ListTestKeys.
type ServicesListTestKeysResult ¶
type ServicesListTestKeysResult struct {
TestKeys
}
ServicesListTestKeysResult contains the result from method Services.ListTestKeys.
type ServicesRegenerateTestKeyOptions ¶
type ServicesRegenerateTestKeyOptions struct { }
ServicesRegenerateTestKeyOptions contains the optional parameters for the Services.RegenerateTestKey method.
type ServicesRegenerateTestKeyResponse ¶
type ServicesRegenerateTestKeyResponse struct { ServicesRegenerateTestKeyResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesRegenerateTestKeyResponse contains the response from method Services.RegenerateTestKey.
type ServicesRegenerateTestKeyResult ¶
type ServicesRegenerateTestKeyResult struct {
TestKeys
}
ServicesRegenerateTestKeyResult contains the result from method Services.RegenerateTestKey.
type ServicesStartPoller ¶ added in v0.2.0
type ServicesStartPoller struct {
// contains filtered or unexported fields
}
ServicesStartPoller provides polling facilities until the operation reaches a terminal state.
func (*ServicesStartPoller) Done ¶ added in v0.2.0
func (p *ServicesStartPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ServicesStartPoller) FinalResponse ¶ added in v0.2.0
func (p *ServicesStartPoller) FinalResponse(ctx context.Context) (ServicesStartResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServicesStartResponse will be returned.
func (*ServicesStartPoller) Poll ¶ added in v0.2.0
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ServicesStartPoller) ResumeToken ¶ added in v0.2.0
func (p *ServicesStartPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ServicesStartPollerResponse ¶ added in v0.2.0
type ServicesStartPollerResponse struct { // Poller contains an initialized poller. Poller *ServicesStartPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesStartPollerResponse contains the response from method Services.Start.
func (ServicesStartPollerResponse) PollUntilDone ¶ added in v0.2.0
func (l ServicesStartPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ServicesStartResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ServicesStartPollerResponse) Resume ¶ added in v0.2.0
func (l *ServicesStartPollerResponse) Resume(ctx context.Context, client *ServicesClient, token string) error
Resume rehydrates a ServicesStartPollerResponse from the provided client and resume token.
type ServicesStartResponse ¶ added in v0.2.0
type ServicesStartResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesStartResponse contains the response from method Services.Start.
type ServicesStopPoller ¶ added in v0.2.0
type ServicesStopPoller struct {
// contains filtered or unexported fields
}
ServicesStopPoller provides polling facilities until the operation reaches a terminal state.
func (*ServicesStopPoller) Done ¶ added in v0.2.0
func (p *ServicesStopPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ServicesStopPoller) FinalResponse ¶ added in v0.2.0
func (p *ServicesStopPoller) FinalResponse(ctx context.Context) (ServicesStopResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServicesStopResponse will be returned.
func (*ServicesStopPoller) Poll ¶ added in v0.2.0
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ServicesStopPoller) ResumeToken ¶ added in v0.2.0
func (p *ServicesStopPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ServicesStopPollerResponse ¶ added in v0.2.0
type ServicesStopPollerResponse struct { // Poller contains an initialized poller. Poller *ServicesStopPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesStopPollerResponse contains the response from method Services.Stop.
func (ServicesStopPollerResponse) PollUntilDone ¶ added in v0.2.0
func (l ServicesStopPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ServicesStopResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ServicesStopPollerResponse) Resume ¶ added in v0.2.0
func (l *ServicesStopPollerResponse) Resume(ctx context.Context, client *ServicesClient, token string) error
Resume rehydrates a ServicesStopPollerResponse from the provided client and resume token.
type ServicesStopResponse ¶ added in v0.2.0
type ServicesStopResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesStopResponse contains the response from method Services.Stop.
type ServicesUpdatePoller ¶
type ServicesUpdatePoller struct {
// contains filtered or unexported fields
}
ServicesUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*ServicesUpdatePoller) Done ¶
func (p *ServicesUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ServicesUpdatePoller) FinalResponse ¶
func (p *ServicesUpdatePoller) FinalResponse(ctx context.Context) (ServicesUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ServicesUpdateResponse will be returned.
func (*ServicesUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ServicesUpdatePoller) ResumeToken ¶
func (p *ServicesUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ServicesUpdatePollerResponse ¶
type ServicesUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *ServicesUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesUpdatePollerResponse contains the response from method Services.Update.
func (ServicesUpdatePollerResponse) PollUntilDone ¶
func (l ServicesUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ServicesUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*ServicesUpdatePollerResponse) Resume ¶
func (l *ServicesUpdatePollerResponse) Resume(ctx context.Context, client *ServicesClient, token string) error
Resume rehydrates a ServicesUpdatePollerResponse from the provided client and resume token.
type ServicesUpdateResponse ¶
type ServicesUpdateResponse struct { ServicesUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ServicesUpdateResponse contains the response from method Services.Update.
type ServicesUpdateResult ¶
type ServicesUpdateResult struct {
ServiceResource
}
ServicesUpdateResult contains the result from method Services.Update.
type StorageAccount ¶ added in v0.2.0
type StorageAccount struct { StorageProperties // REQUIRED; The account key of the Azure Storage Account. AccountKey *string `json:"accountKey,omitempty"` // REQUIRED; The account name of the Azure Storage Account. AccountName *string `json:"accountName,omitempty"` }
StorageAccount - storage resource of type Azure Storage Account.
func (StorageAccount) MarshalJSON ¶ added in v0.2.0
func (s StorageAccount) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type StorageAccount.
func (*StorageAccount) UnmarshalJSON ¶ added in v0.2.0
func (s *StorageAccount) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type StorageAccount.
type StorageProperties ¶ added in v0.2.0
type StorageProperties struct { // REQUIRED; The type of the storage. StorageType *StoragePropertiesStorageType `json:"storageType,omitempty"` }
StorageProperties - Storage resource payload.
func (*StorageProperties) GetStorageProperties ¶ added in v0.2.0
func (s *StorageProperties) GetStorageProperties() *StorageProperties
GetStorageProperties implements the StoragePropertiesClassification interface for type StorageProperties.
func (*StorageProperties) UnmarshalJSON ¶ added in v0.2.0
func (s *StorageProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type StorageProperties.
type StoragePropertiesClassification ¶ added in v0.2.0
type StoragePropertiesClassification interface { // GetStorageProperties returns the StorageProperties content of the underlying type. GetStorageProperties() *StorageProperties }
StoragePropertiesClassification provides polymorphic access to related types. Call the interface's GetStorageProperties() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *StorageAccount, *StorageProperties
type StoragePropertiesStorageType ¶ added in v0.2.0
type StoragePropertiesStorageType string
StoragePropertiesStorageType - The type of the storage.
const (
StoragePropertiesStorageTypeStorageAccount StoragePropertiesStorageType = "StorageAccount"
)
func PossibleStoragePropertiesStorageTypeValues ¶ added in v0.2.0
func PossibleStoragePropertiesStorageTypeValues() []StoragePropertiesStorageType
PossibleStoragePropertiesStorageTypeValues returns the possible values for the StoragePropertiesStorageType const type.
func (StoragePropertiesStorageType) ToPtr ¶ added in v0.2.0
func (c StoragePropertiesStorageType) ToPtr() *StoragePropertiesStorageType
ToPtr returns a *StoragePropertiesStorageType pointing to the current value.
type StorageResource ¶ added in v0.2.0
type StorageResource struct { ProxyResource // Properties of the storage resource payload. Properties StoragePropertiesClassification `json:"properties,omitempty"` // READ-ONLY; Metadata pertaining to creation and last modification of the resource. SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` }
StorageResource - Storage resource payload.
func (StorageResource) MarshalJSON ¶ added in v0.2.0
func (s StorageResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type StorageResource.
func (*StorageResource) UnmarshalJSON ¶ added in v0.2.0
func (s *StorageResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type StorageResource.
type StorageResourceCollection ¶ added in v0.2.0
type StorageResourceCollection struct { // The link to next page of storage list. NextLink *string `json:"nextLink,omitempty"` // The storage resources list. Value []*StorageResource `json:"value,omitempty"` }
StorageResourceCollection - Collection compose of storage resources list and a possible link for next page.
func (StorageResourceCollection) MarshalJSON ¶ added in v0.2.0
func (s StorageResourceCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type StorageResourceCollection.
type StoragesBeginCreateOrUpdateOptions ¶ added in v0.2.0
type StoragesBeginCreateOrUpdateOptions struct { }
StoragesBeginCreateOrUpdateOptions contains the optional parameters for the Storages.BeginCreateOrUpdate method.
type StoragesBeginDeleteOptions ¶ added in v0.2.0
type StoragesBeginDeleteOptions struct { }
StoragesBeginDeleteOptions contains the optional parameters for the Storages.BeginDelete method.
type StoragesClient ¶ added in v0.2.0
type StoragesClient struct {
// contains filtered or unexported fields
}
StoragesClient contains the methods for the Storages group. Don't use this type directly, use NewStoragesClient() instead.
func NewStoragesClient ¶ added in v0.2.0
func NewStoragesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *StoragesClient
NewStoragesClient creates a new instance of StoragesClient with the specified values.
func (*StoragesClient) BeginCreateOrUpdate ¶ added in v0.2.0
func (client *StoragesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, serviceName string, storageName string, storageResource StorageResource, options *StoragesBeginCreateOrUpdateOptions) (StoragesCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Create or update storage resource. If the operation fails it returns the *CloudError error type.
func (*StoragesClient) BeginDelete ¶ added in v0.2.0
func (client *StoragesClient) BeginDelete(ctx context.Context, resourceGroupName string, serviceName string, storageName string, options *StoragesBeginDeleteOptions) (StoragesDeletePollerResponse, error)
BeginDelete - Delete the storage resource. If the operation fails it returns the *CloudError error type.
func (*StoragesClient) Get ¶ added in v0.2.0
func (client *StoragesClient) Get(ctx context.Context, resourceGroupName string, serviceName string, storageName string, options *StoragesGetOptions) (StoragesGetResponse, error)
Get - Get the storage resource. If the operation fails it returns the *CloudError error type.
func (*StoragesClient) List ¶ added in v0.2.0
func (client *StoragesClient) List(resourceGroupName string, serviceName string, options *StoragesListOptions) *StoragesListPager
List - List all the storages of one Azure Spring Cloud instance. If the operation fails it returns the *CloudError error type.
type StoragesCreateOrUpdatePoller ¶ added in v0.2.0
type StoragesCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
StoragesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*StoragesCreateOrUpdatePoller) Done ¶ added in v0.2.0
func (p *StoragesCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*StoragesCreateOrUpdatePoller) FinalResponse ¶ added in v0.2.0
func (p *StoragesCreateOrUpdatePoller) FinalResponse(ctx context.Context) (StoragesCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final StoragesCreateOrUpdateResponse will be returned.
func (*StoragesCreateOrUpdatePoller) Poll ¶ added in v0.2.0
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*StoragesCreateOrUpdatePoller) ResumeToken ¶ added in v0.2.0
func (p *StoragesCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type StoragesCreateOrUpdatePollerResponse ¶ added in v0.2.0
type StoragesCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *StoragesCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
StoragesCreateOrUpdatePollerResponse contains the response from method Storages.CreateOrUpdate.
func (StoragesCreateOrUpdatePollerResponse) PollUntilDone ¶ added in v0.2.0
func (l StoragesCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (StoragesCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*StoragesCreateOrUpdatePollerResponse) Resume ¶ added in v0.2.0
func (l *StoragesCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *StoragesClient, token string) error
Resume rehydrates a StoragesCreateOrUpdatePollerResponse from the provided client and resume token.
type StoragesCreateOrUpdateResponse ¶ added in v0.2.0
type StoragesCreateOrUpdateResponse struct { StoragesCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
StoragesCreateOrUpdateResponse contains the response from method Storages.CreateOrUpdate.
type StoragesCreateOrUpdateResult ¶ added in v0.2.0
type StoragesCreateOrUpdateResult struct {
StorageResource
}
StoragesCreateOrUpdateResult contains the result from method Storages.CreateOrUpdate.
type StoragesDeletePoller ¶ added in v0.2.0
type StoragesDeletePoller struct {
// contains filtered or unexported fields
}
StoragesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*StoragesDeletePoller) Done ¶ added in v0.2.0
func (p *StoragesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*StoragesDeletePoller) FinalResponse ¶ added in v0.2.0
func (p *StoragesDeletePoller) FinalResponse(ctx context.Context) (StoragesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final StoragesDeleteResponse will be returned.
func (*StoragesDeletePoller) Poll ¶ added in v0.2.0
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*StoragesDeletePoller) ResumeToken ¶ added in v0.2.0
func (p *StoragesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type StoragesDeletePollerResponse ¶ added in v0.2.0
type StoragesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *StoragesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
StoragesDeletePollerResponse contains the response from method Storages.Delete.
func (StoragesDeletePollerResponse) PollUntilDone ¶ added in v0.2.0
func (l StoragesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (StoragesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.
func (*StoragesDeletePollerResponse) Resume ¶ added in v0.2.0
func (l *StoragesDeletePollerResponse) Resume(ctx context.Context, client *StoragesClient, token string) error
Resume rehydrates a StoragesDeletePollerResponse from the provided client and resume token.
type StoragesDeleteResponse ¶ added in v0.2.0
type StoragesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
StoragesDeleteResponse contains the response from method Storages.Delete.
type StoragesGetOptions ¶ added in v0.2.0
type StoragesGetOptions struct { }
StoragesGetOptions contains the optional parameters for the Storages.Get method.
type StoragesGetResponse ¶ added in v0.2.0
type StoragesGetResponse struct { StoragesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
StoragesGetResponse contains the response from method Storages.Get.
type StoragesGetResult ¶ added in v0.2.0
type StoragesGetResult struct {
StorageResource
}
StoragesGetResult contains the result from method Storages.Get.
type StoragesListOptions ¶ added in v0.2.0
type StoragesListOptions struct { }
StoragesListOptions contains the optional parameters for the Storages.List method.
type StoragesListPager ¶ added in v0.2.0
type StoragesListPager struct {
// contains filtered or unexported fields
}
StoragesListPager provides operations for iterating over paged responses.
func (*StoragesListPager) Err ¶ added in v0.2.0
func (p *StoragesListPager) Err() error
Err returns the last error encountered while paging.
func (*StoragesListPager) NextPage ¶ added in v0.2.0
func (p *StoragesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*StoragesListPager) PageResponse ¶ added in v0.2.0
func (p *StoragesListPager) PageResponse() StoragesListResponse
PageResponse returns the current StoragesListResponse page.
type StoragesListResponse ¶ added in v0.2.0
type StoragesListResponse struct { StoragesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
StoragesListResponse contains the response from method Storages.List.
type StoragesListResult ¶ added in v0.2.0
type StoragesListResult struct {
StorageResourceCollection
}
StoragesListResult contains the result from method Storages.List.
type SupportedRuntimePlatform ¶
type SupportedRuntimePlatform string
SupportedRuntimePlatform - The platform of this runtime version (possible values: "Java" or ".NET").
const ( SupportedRuntimePlatformJava SupportedRuntimePlatform = "Java" SupportedRuntimePlatformNETCore SupportedRuntimePlatform = ".NET Core" )
func PossibleSupportedRuntimePlatformValues ¶
func PossibleSupportedRuntimePlatformValues() []SupportedRuntimePlatform
PossibleSupportedRuntimePlatformValues returns the possible values for the SupportedRuntimePlatform const type.
func (SupportedRuntimePlatform) ToPtr ¶
func (c SupportedRuntimePlatform) ToPtr() *SupportedRuntimePlatform
ToPtr returns a *SupportedRuntimePlatform pointing to the current value.
type SupportedRuntimeValue ¶
type SupportedRuntimeValue string
SupportedRuntimeValue - The raw value which could be passed to deployment CRUD operations.
const ( SupportedRuntimeValueJava11 SupportedRuntimeValue = "Java_11" SupportedRuntimeValueJava8 SupportedRuntimeValue = "Java_8" SupportedRuntimeValueNetCore31 SupportedRuntimeValue = "NetCore_31" )
func PossibleSupportedRuntimeValueValues ¶
func PossibleSupportedRuntimeValueValues() []SupportedRuntimeValue
PossibleSupportedRuntimeValueValues returns the possible values for the SupportedRuntimeValue const type.
func (SupportedRuntimeValue) ToPtr ¶
func (c SupportedRuntimeValue) ToPtr() *SupportedRuntimeValue
ToPtr returns a *SupportedRuntimeValue pointing to the current value.
type SupportedRuntimeVersion ¶
type SupportedRuntimeVersion struct { // The platform of this runtime version (possible values: "Java" or ".NET"). Platform *SupportedRuntimePlatform `json:"platform,omitempty"` // The raw value which could be passed to deployment CRUD operations. Value *SupportedRuntimeValue `json:"value,omitempty"` // The detailed version (major.minor) of the platform. Version *string `json:"version,omitempty"` }
SupportedRuntimeVersion - Supported deployment runtime version descriptor.
type SystemData ¶ added in v0.2.0
type SystemData struct { // The timestamp of resource creation (UTC). CreatedAt *time.Time `json:"createdAt,omitempty"` // The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // The type of identity that created the resource. CreatedByType *CreatedByType `json:"createdByType,omitempty"` // The timestamp of resource last modification (UTC) LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` // The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // The type of identity that last modified the resource. LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"` }
SystemData - Metadata pertaining to creation and last modification of the resource.
func (SystemData) MarshalJSON ¶ added in v0.2.0
func (s SystemData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SystemData.
func (*SystemData) UnmarshalJSON ¶ added in v0.2.0
func (s *SystemData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.
type TemporaryDisk ¶
type TemporaryDisk struct { // Mount path of the temporary disk MountPath *string `json:"mountPath,omitempty"` // Size of the temporary disk in GB SizeInGB *int32 `json:"sizeInGB,omitempty"` }
TemporaryDisk - Temporary disk payload
type TestKeyType ¶
type TestKeyType string
TestKeyType - Type of the test key
const ( TestKeyTypePrimary TestKeyType = "Primary" TestKeyTypeSecondary TestKeyType = "Secondary" )
func PossibleTestKeyTypeValues ¶
func PossibleTestKeyTypeValues() []TestKeyType
PossibleTestKeyTypeValues returns the possible values for the TestKeyType const type.
func (TestKeyType) ToPtr ¶
func (c TestKeyType) ToPtr() *TestKeyType
ToPtr returns a *TestKeyType pointing to the current value.
type TestKeys ¶
type TestKeys struct { // Indicates whether the test endpoint feature enabled or not Enabled *bool `json:"enabled,omitempty"` // Primary key PrimaryKey *string `json:"primaryKey,omitempty"` // Primary test endpoint PrimaryTestEndpoint *string `json:"primaryTestEndpoint,omitempty"` // Secondary key SecondaryKey *string `json:"secondaryKey,omitempty"` // Secondary test endpoint SecondaryTestEndpoint *string `json:"secondaryTestEndpoint,omitempty"` }
TestKeys - Test keys payload
type TrackedResource ¶
type TrackedResource struct { Resource // The GEO location of the resource. Location *string `json:"location,omitempty"` // Tags of the service which is a list of key value pairs that describe the resource. Tags map[string]*string `json:"tags,omitempty"` }
TrackedResource - The resource model definition for a ARM tracked top level resource.
func (TrackedResource) MarshalJSON ¶
func (t TrackedResource) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TrackedResource.
func (*TrackedResource) UnmarshalJSON ¶ added in v0.2.0
func (t *TrackedResource) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TrackedResource.
type TrafficDirection ¶
type TrafficDirection string
TrafficDirection - The direction of required traffic
const ( TrafficDirectionInbound TrafficDirection = "Inbound" TrafficDirectionOutbound TrafficDirection = "Outbound" )
func PossibleTrafficDirectionValues ¶
func PossibleTrafficDirectionValues() []TrafficDirection
PossibleTrafficDirectionValues returns the possible values for the TrafficDirection const type.
func (TrafficDirection) ToPtr ¶
func (c TrafficDirection) ToPtr() *TrafficDirection
ToPtr returns a *TrafficDirection pointing to the current value.
type UserSourceInfo ¶
type UserSourceInfo struct { // Selector for the artifact to be used for the deployment for multi-module projects. This should be the relative path to the target module/project. ArtifactSelector *string `json:"artifactSelector,omitempty"` // Custom container payload CustomContainer *CustomContainer `json:"customContainer,omitempty"` // Relative path of the storage which stores the source RelativePath *string `json:"relativePath,omitempty"` // Type of the source uploaded Type *UserSourceType `json:"type,omitempty"` // Version of the source Version *string `json:"version,omitempty"` }
UserSourceInfo - Source information for a deployment
type UserSourceType ¶
type UserSourceType string
UserSourceType - Type of the source uploaded
const ( UserSourceTypeContainer UserSourceType = "Container" UserSourceTypeJar UserSourceType = "Jar" UserSourceTypeNetCoreZip UserSourceType = "NetCoreZip" UserSourceTypeSource UserSourceType = "Source" )
func PossibleUserSourceTypeValues ¶
func PossibleUserSourceTypeValues() []UserSourceType
PossibleUserSourceTypeValues returns the possible values for the UserSourceType const type.
func (UserSourceType) ToPtr ¶
func (c UserSourceType) ToPtr() *UserSourceType
ToPtr returns a *UserSourceType pointing to the current value.
Source Files ¶
- build.go
- zz_generated_apps_client.go
- zz_generated_bindings_client.go
- zz_generated_certificates_client.go
- zz_generated_configservers_client.go
- zz_generated_constants.go
- zz_generated_customdomains_client.go
- zz_generated_deployments_client.go
- zz_generated_models.go
- zz_generated_monitoringsettings_client.go
- zz_generated_operations_client.go
- zz_generated_pagers.go
- zz_generated_pollers.go
- zz_generated_polymorphic_helpers.go
- zz_generated_response_types.go
- zz_generated_runtimeversions_client.go
- zz_generated_services_client.go
- zz_generated_skus_client.go
- zz_generated_storages_client.go
- zz_generated_time_rfc3339.go