Method | Description | |
---|---|---|
SplitTrafficViewModel ( |
Method | Description | |
---|---|---|
GetAllocations ( Service service ) : ObservableCollection |
Get a list of traffic allocations of a service's versions as SplitTrafficModel
|
|
GetAvailableVersions ( Service service, IEnumerable |
Get a list of versions that are not allocated traffic in a service.
|
|
OnAddTrafficAllocationCommand ( ) : void | ||
OnDeleteCommand ( ) : void |
Called when the user clicks the Delete button. This will remove the given version (VersionId>) from the list of Allocations and adds the version to the the list of AvailableVersions.
|
|
OnSaveCommand ( ) : void |
Called when the user clicks the Save button. This handles error checks, populates the Result field and closes the dialog.
|
|
UpdateCommands ( ) : void |
public SplitTrafficViewModel ( |
||
owner | ||
service | Service | |
versions | IEnumerable |
|
return | Google.Apis.Appengine.v1.Data |