你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TargetStateExtensions.GetTargetState<TModel> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Microsoft.Azure.Commands.Common.Strategies.IState GetTargetState<TModel> (this Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<TModel> config, Microsoft.Azure.Commands.Common.Strategies.IState current, Microsoft.Azure.Commands.Common.Strategies.IEngine engine, string location) where TModel : class;
static member GetTargetState : Microsoft.Azure.Commands.Common.Strategies.ResourceConfig<'Model (requires 'Model : null)> * Microsoft.Azure.Commands.Common.Strategies.IState * Microsoft.Azure.Commands.Common.Strategies.IEngine * string -> Microsoft.Azure.Commands.Common.Strategies.IState (requires 'Model : null)
<Extension()>
Public Function GetTargetState(Of TModel As Class) (config As ResourceConfig(Of TModel), current As IState, engine As IEngine, location As String) As IState
Type Parameters
- TModel
Parameters
- config
- ResourceConfig<TModel>
- current
- IState
- engine
- IEngine
- location
- String