你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceBind Class
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.
Configuration to bind a ContainerApp to a dev ContainerApp Service
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ServiceBindTypeConverter))]
public class ServiceBind : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IServiceBind
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.ServiceBindTypeConverter))>]
type ServiceBind = class
interface IServiceBind
interface IJsonSerializable
Public Class ServiceBind
Implements IServiceBind
- Inheritance
-
ServiceBind
- Attributes
- Implements
Constructors
ServiceBind() |
Creates an new ServiceBind instance. |
Properties
Name |
Name of the service bind |
ServiceId |
Resource id of the target service |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ServiceBind. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ServiceBind. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IServiceBind. |
FromJsonString(String) |
Creates a new instance of ServiceBind, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ServiceBind into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |