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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.