ArmResourcesModelFactory.ManagedResourceReference 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.
Initializes a new instance of ManagedResourceReference.
public static Azure.ResourceManager.Resources.Models.ManagedResourceReference ManagedResourceReference (string id = default, Azure.ResourceManager.Resources.Models.ResourceStatusMode? status = default, Azure.ResourceManager.Resources.Models.DenyStatusMode? denyStatus = default);
static member ManagedResourceReference : string * Nullable<Azure.ResourceManager.Resources.Models.ResourceStatusMode> * Nullable<Azure.ResourceManager.Resources.Models.DenyStatusMode> -> Azure.ResourceManager.Resources.Models.ManagedResourceReference
Public Shared Function ManagedResourceReference (Optional id As String = Nothing, Optional status As Nullable(Of ResourceStatusMode) = Nothing, Optional denyStatus As Nullable(Of DenyStatusMode) = Nothing) As ManagedResourceReference
Parameters
- id
- String
The resourceId of a resource managed by the deployment stack.
- status
- Nullable<ResourceStatusMode>
Current management state of the resource in the deployment stack.
- denyStatus
- Nullable<DenyStatusMode>
denyAssignment settings applied to the resource.
Returns
A new ManagedResourceReference instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET