Interface IServiceFabricsOperations
ServiceFabricsOperations operations.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DevTestLabs.dll
Syntax
public interface IServiceFabricsOperations
Methods
BeginCreateOrUpdateWithHttpMessagesAsync(String, String, String, String, ServiceFabric, Dictionary<String,List<String>>, CancellationToken)
Create or replace an existing Service Fabric. This operation can take a while to complete.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric>> BeginCreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric serviceFabric, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
ServiceFabric
serviceFabric
A Service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<ServiceFabric>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
BeginDeleteWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Delete service fabric. This operation can take a while to complete.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginDeleteWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
ValidationException
Thrown when a required parameter is null |
BeginStartWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Start a service fabric. This operation can take a while to complete.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginStartWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
ValidationException
Thrown when a required parameter is null |
BeginStopWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Stop a service fabric This operation can take a while to complete.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> BeginStopWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
ValidationException
Thrown when a required parameter is null |
CreateOrUpdateWithHttpMessagesAsync(String, String, String, String, ServiceFabric, Dictionary<String,List<String>>, CancellationToken)
Create or replace an existing Service Fabric. This operation can take a while to complete.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric serviceFabric, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
ServiceFabric
serviceFabric
A Service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<ServiceFabric>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
DeleteWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Delete service fabric. This operation can take a while to complete.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> DeleteWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
ValidationException
Thrown when a required parameter is null |
GetWithHttpMessagesAsync(String, String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Get service fabric.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric>> GetWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, string expand = null, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
String
expand
Specify the $expand query. Example: 'properties($expand=applicableSchedule)' |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<ServiceFabric>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
ListApplicableSchedulesWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Lists the applicable start/stop schedules, if any.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DevTestLabs.Models.ApplicableSchedule>> ListApplicableSchedulesWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<ApplicableSchedule>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
ListNextWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)
List service fabrics in a given user profile.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric>>> ListNextWithHttpMessagesAsync (string nextPageLink, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
nextPageLink
The NextLink from the previous successful call to List operation. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<IPage<ServiceFabric>>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
ListWithHttpMessagesAsync(String, String, String, ODataQuery<ServiceFabric>, Dictionary<String,List<String>>, CancellationToken)
List service fabrics in a given user profile.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric>>> ListWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric> odataQuery = null, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
ODataQuery<ServiceFabric>
odataQuery
OData parameters to apply to the operation. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<IPage<ServiceFabric>>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |
StartWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Start a service fabric. This operation can take a while to complete.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> StartWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
ValidationException
Thrown when a required parameter is null |
StopWithHttpMessagesAsync(String, String, String, String, Dictionary<String,List<String>>, CancellationToken)
Stop a service fabric This operation can take a while to complete.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> StopWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
ValidationException
Thrown when a required parameter is null |
UpdateWithHttpMessagesAsync(String, String, String, String, ServiceFabricFragment, Dictionary<String,List<String>>, CancellationToken)
Modify properties of service fabrics.
Declaration
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabric>> UpdateWithHttpMessagesAsync (string resourceGroupName, string labName, string userName, string name, Microsoft.Azure.Management.DevTestLabs.Models.ServiceFabricFragment serviceFabric, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = null, System.Threading.CancellationToken cancellationToken = null);
Parameters
|
String
resourceGroupName
The name of the resource group. |
|
String
labName
The name of the lab. |
|
String
userName
The name of the user profile. |
|
String
name
The name of the service Fabric. |
|
ServiceFabricFragment
serviceFabric
A Service Fabric. |
|
Dictionary<String,List<String>>
customHeaders
The headers that will be added to request. |
|
CancellationToken
cancellationToken
The cancellation token. |
Returns
|
Task<AzureOperationResponse<ServiceFabric>>
|
Exceptions
|
CloudException
Thrown when the operation returned an invalid status code |
|
SerializationException
Thrown when unable to deserialize the response |
|
ValidationException
Thrown when a required parameter is null |