C# 클래스 Elastacloud.AzureManagement.Fluent.Clients.MobileServiceClient

An azure implementation of a mobile service client
상속: IMobileServiceClient
파일 보기 프로젝트 열기: azurecoder/fluent-management 1 사용 예제들

공개 메소드들

메소드 설명
AddSchedulerScript ( string name, string script, int intervalInMinutes ) : void

Adds a scheduled job to WAMS

AddTable ( string tableName, Types defaultPermission = Types.MobileServices.Roles.Application ) : void

Adds a table to mobile services

AddTableScript ( CrudOperation operationType, string tableName, string script, Types permission ) : void

Adds a script for a crud operation to the table

CreateMobileServiceWithNewDb ( string serviceName, string sqlUsername, string sqlPassword ) : void

Used to create a new mobile service

Delete ( bool deleteSqlAzureDatabase = true ) : void

Deletes a mobile service along with any linked database server

MobileServiceClient ( string subscriptionId, X509Certificate2 certificate, string mobileServiceName = null ) : System

Used to construct a mobile service client

Refresh ( ) : void

Refreshes the state of the client

RegenerateKeys ( ) : void

Regenerates both the master and the application keys

Restart ( ) : void

Used to restart the mobile service

Update ( ) : void

Updates any of the settable prooperties of the mobile service

비공개 메소드들

메소드 설명
BuildBase64Config ( MobileServiceCommand &command ) : void

Builds the configuration necessary to build a mobile service

BuildCrudDictionary ( IList values ) : string>.Dictionary
EnsureMobileServicesName ( ) : void

Ensures that the mobile services name has a value

GetAllSettings ( ) : void

Gets an aggregate of all of the mobile services settings

GetCreateNewServiceSpecification ( ) : string

Used to package the JSON request

GetLiveNotificationSettings ( ) : void

Gets all of the Windows settings for notifications and other things

GetMobileAuthenticationProviderSettings ( ) : void

Gets a list of mobile auth provider settings and populates

GetMobileServiceDetails ( ) : void

Gets the details of the mobile service on startup

GetMobileServiceResources ( ) : void

Gets and populates all of the state of the resources

GetMobileServiceTables ( ) : void

Gets a list of all of the mobile services tables

GetScaleSettings ( ) : void

Gets the webspace properties that will allow the manipulation of the scale

GetServiceSettings ( ) : void

Gets all of the Windows settings for notifications and other things

UpdateAuth ( ) : void

Used to update the authentication for the mobile service

UpdateLiveNotifications ( ) : void

Used to update everything to do with a Microsoft Account including WNS

UpdateService ( ) : void

Used to update the service settings currently dynamic schema only

메소드 상세

AddSchedulerScript() 공개 메소드

Adds a scheduled job to WAMS
public AddSchedulerScript ( string name, string script, int intervalInMinutes ) : void
name string The name of the script
script string The actual script
intervalInMinutes int The interval in minutes
리턴 void

AddTable() 공개 메소드

Adds a table to mobile services
public AddTable ( string tableName, Types defaultPermission = Types.MobileServices.Roles.Application ) : void
tableName string the name of the table
defaultPermission Types Sets the default permission for the table scripts
리턴 void

AddTableScript() 공개 메소드

Adds a script for a crud operation to the table
public AddTableScript ( CrudOperation operationType, string tableName, string script, Types permission ) : void
operationType CrudOperation The type of operation
tableName string The name of the WAMS table
script string The script to add
permission Types The permissions of the script to upload
리턴 void

CreateMobileServiceWithNewDb() 공개 메소드

Used to create a new mobile service
public CreateMobileServiceWithNewDb ( string serviceName, string sqlUsername, string sqlPassword ) : void
serviceName string The name of the mobile service
sqlUsername string the name of the sql user
sqlPassword string The sql password
리턴 void

Delete() 공개 메소드

Deletes a mobile service along with any linked database server
public Delete ( bool deleteSqlAzureDatabase = true ) : void
deleteSqlAzureDatabase bool
리턴 void

MobileServiceClient() 공개 메소드

Used to construct a mobile service client
public MobileServiceClient ( string subscriptionId, X509Certificate2 certificate, string mobileServiceName = null ) : System
subscriptionId string the subscription id referenced
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 The management certificate to access the subscription
mobileServiceName string The name of the mobile service
리턴 System

Refresh() 공개 메소드

Refreshes the state of the client
public Refresh ( ) : void
리턴 void

RegenerateKeys() 공개 메소드

Regenerates both the master and the application keys
public RegenerateKeys ( ) : void
리턴 void

Restart() 공개 메소드

Used to restart the mobile service
public Restart ( ) : void
리턴 void

Update() 공개 메소드

Updates any of the settable prooperties of the mobile service
public Update ( ) : void
리턴 void